You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One problem is the class loader check done in FWProps in order to set org.osgi.supports.framework.extension. This test assumes that the class loader is instanceof URLClassLoader. With JDK8 we have a sun.misc.Launcher.AppClassLoader, which extends java.net.URLClassLoader (which extends java.security.SecureClassLoader). With JDK11 we have a jdk.internal.loader.ClassLoaders.AppClassLoader, which extends jdk.internal.loader.BuiltinClassLoader (which extends java.security.SecureClassLoader). This causes org.osgi.supports.framework.extension to be set to false, which is not allowed for OSGi R4 and later.
If we force org.osgi.supports.framework.extension to be true, we get NoClassDefFoundError from some tests that depend on org/osgi/test/cases/condpermadmin/testcond/TestPostPonedCondition or org.osgi.test.cases.condpermadmin.testcond.TestCondition.
Another problem is that org.osgi.test.cases.framework.junit.classloading.ClassLoadingTests.testHiddenPackages001 depends on org.omg.CORBA which is not present in JDK11.
Compiling KF (in develop) with JDK11 fails due to ASM issues.
New version of asm is required, e.g. asm >= 7
The text was updated successfully, but these errors were encountered: