Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902695

JMH should not try to access inaccessible fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • jmh
    • generic
    • generic

      For example:

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/Users/bpb/Work/CoreLibs/bugs/jdk/XBufferPut-8245121/XBufferPut/target/benchmarks.jar) to field java.io.Console.cs
      WARNING: Please consider reporting this to the maintainers of org.openjdk.jmh.util.Utils
      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
      # JMH version: 1.20-SNAPSHOT
      # VM version: JDK 15-internal, VM 15-internal+0-2020-06-04-1554111.bpb...

            shade Aleksey Shipilev
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: