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

JAWS-RT reference to internal JDK API's

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: xml
    • Labels:

      Description

      When running with Jigsaw b162 with --permit-illegal-access, the following warnings are printed from the standalone jar.


      WARNING: Illegal access by com.sun.xml.ws.model.Injector (file:files-2.1/com.sun.xml.ws/jaxws-rt/2.3.0-b170309.1503/jaxws-rt-2.3.0-b170309.1503.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
      WARNING: Illegal access by com.sun.xml.ws.model.Injector (file:files-2.1/com.sun.xml.ws/jaxws-rt/2.3.0-b170309.1503/jaxws-rt-2.3.0-b170309.1503.jar) to method java.lang.ClassLoader.definePackage(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.net.URL)
      WARNING: Illegal access by com.sun.xml.ws.model.Injector (file:files-2.1/com.sun.xml.ws/jaxws-rt/2.3.0-b170309.1503/jaxws-rt-2.3.0-b170309.1503.jar) to method java.lang.ClassLoader.getPackage(java.lang.String)
      WARNING: Illegal access by com.sun.xml.ws.model.Injector (file:files-2.1/com.sun.xml.ws/jaxws-rt/2.3.0-b170309.1503/jaxws-rt-2.3.0-b170309.1503.jar) to method java.lang.ClassLoader.resolveClass(java.lang.Class)

      If these have fall-back code if the access fails, let me know and I'll track known safe occurrences.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ljungman Lukáš Jungmann
              Reporter:
              sfelts Stephen Felts
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: