Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1355

JDK9 and XNIO Illegal reflective access

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.8.Final
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Undertow embedded with Zulu JDK Zulu build 9.0.7.1+1

      Description

      XNIO gives a warning when using JDK 9: "Illegal reflective access"

      Running TestSuite
      11:19:32.183 [main] INFO  org.xnio - XNIO version 3.3.8.Final
      11:19:32.201 [main] INFO  org.xnio.nio - XNIO NIO Implementation Version 3.3.8.Final
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.xnio.nio.NioXnio$2 (file:/Users/xxx/.m2/repository/org/jboss/xnio/xnio-nio/3.3.8.Final/xnio-nio-3.3.8.Final.jar) to constructor sun.nio.ch.KQueueSelectorProvider()
      WARNING: Please consider reporting this to the maintainers of org.xnio.nio.NioXnio$2
      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
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.369 sec - in TestSuite
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swd847 Stuart Douglas
                  Reporter:
                  oranheim Ove Ranheim
                • Votes:
                  3 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated: