Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8214445

[test] java/net/URL/HandlerLoop has illegal reflective access

XMLWordPrintable

    • b23

        When running the test java/net/URL/HandlerLoop it shows:

        WARNING: An illegal reflective access operation has occurred
        WARNING: Illegal reflective access by HandlerLoop$HandlerFactory (file:/ws/jdk-dev/open/JTwork/classes/java/net/URL/HandlerLoop.d/) to constructor sun.net.www.protocol.file.Handler()
        WARNING: Please consider reporting this to the maintainers of HandlerLoop$HandlerFactory
        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
        STATUS:Passed

        Adding @modules will allow the access needed.

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: