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

JDK9 and XNIO Illegal reflective access


    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 2.0.8.Final
    • Core
    • None

      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

            rhn-cservice-bbaranow Bartosz Baranowski
            oranheim Ove Ranheim (Inactive)
            5 Vote for this issue
            15 Start watching this issue