Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-566

"illegal reflective access operation" warning when profiling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 9.0
    • None
    • profiler - Base
    • None

    Description

      Starting the profiler under JDK10 gives the following warning:

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.netbeans.lib.profiler.server.ClassLoaderManager to method java.lang.ClassLoader.findLoadedClass(java.lang.String)
      WARNING: Please consider reporting this to the maintainers of org.netbeans.lib.profiler.server.ClassLoaderManager
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release

      I see it twice: once in messages.log during VM calibration, then again in the output window when the profiler starts.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gholmer Glenn Holmer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: