Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
JDK 11
Description
I tried to run Felix 6.0.3 on Java 11 but getting lots of warning.
2020-03-27 09:43:54.941 [AdeptJ Launcher] INFO com.adeptj.runtime.osgi.FrameworkManager - Starting the OSGi Framework!!
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to field java.net.URL.streamHandlerLock
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to field java.net.URL.factory
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to field java.net.URL.defaultFactory
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URL.getURLStreamHandler(java.lang.String)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to field java.net.URL.handlers
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to field java.net.URLConnection.handlers
2020-03-27 09:43:55.165 [AdeptJ Launcher] INFO com.adeptj.runtime.osgi.FrameworkManager - OSGi Framework creation took [131] ms!!
2020-03-27 09:43:55.176 [AdeptJ Launcher] INFO com.adeptj.runtime.common.Servlets - Registering OSGi ErrorServlet: [AdeptJ OSGiErrorServlet]
2020-03-27 09:43:55.177 [AdeptJ Launcher] INFO com.adeptj.runtime.osgi.Bundles - Bundles provisioning start!!
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.equals(java.net.URL,java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.getDefaultPort()
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.getHostAddress(java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.hashCode(java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.hostsEqual(java.net.URL,java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.openConnection(java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.sameFile(java.net.URL,java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.toExternalForm(java.net.URL)
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/rakesh.kumar/code/adeptj/adeptj-runtime/target/lib/org.apache.felix.framework-6.0.3.jar) to method java.net.URLStreamHandler.openConnection(java.net.URL,java.net.Proxy)