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
Doing further work on getting guice+netty applications working in substratevm, I'm running into an UnsupportedFeatureError when substratevm's own code attempts to invoke the 2-argument constructor of java.security.ProtectionDomain, in the getProtectionDomain() method of com.oracle.svm.core.hub.DynamicHub.
This seems likely to be a bug, since Graal's own code triggers the exception - presumably this code can never work as intended.
com.oracle.svm.core.jdk.UnsupportedFeatureError: Unsupported constructor java.security.ProtectionDomain.<init>(CodeSource, PermissionCollection) is reachable: The declaring class of this element has been substituted, but this element is not present in the substitution class
at java.lang.Throwable.<init>(Throwable.java:265)
at java.lang.Error.<init>(Error.java:70)
at com.oracle.svm.core.jdk.UnsupportedFeatureError.<init>(UnsupportedFeatureError.java:31)
at com.oracle.svm.core.jdk.Target_com_oracle_svm_core_util_VMError.unsupportedFeature(VMErrorSubstitutions.java:109)
at java.security.ProtectionDomain.<init>(ProtectionDomain.java:137)
at com.oracle.svm.core.hub.DynamicHub.getProtectionDomain(DynamicHub.java:969)
at com.google.inject.internal.cglib.core.$ReflectUtils$4.run(ReflectUtils.java:147)
at com.oracle.svm.core.jdk.Target_java_security_AccessController.doPrivileged(SecuritySubstitutions.java:70)
at com.google.inject.internal.cglib.core.$ReflectUtils.getProtectionDomain(ReflectUtils.java:145)
at com.google.inject.internal.cglib.reflect.$FastClass$Generator.getProtectionDomain(FastClass.java:73)
at com.google.inject.internal.cglib.core.$AbstractClassGenerator.generate(AbstractClassGenerator.java:331)
at com.google.inject.internal.cglib.core.$AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93)
at com.google.inject.internal.cglib.core.$AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91)
at com.google.inject.internal.cglib.core.internal.$LoadingCache$2.call(LoadingCache.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.google.inject.internal.cglib.core.internal.$LoadingCache.createEntry(LoadingCache.java:61)
The text was updated successfully, but these errors were encountered:
Thank you for reporting. This is a bug that has been reported before: #564. I will close this, you can follow the progress there. It should be fixed soon.
Doing further work on getting guice+netty applications working in substratevm, I'm running into an UnsupportedFeatureError when substratevm's own code attempts to invoke the 2-argument constructor of
java.security.ProtectionDomain
, in thegetProtectionDomain()
method ofcom.oracle.svm.core.hub.DynamicHub
.This seems likely to be a bug, since Graal's own code triggers the exception - presumably this code can never work as intended.
The text was updated successfully, but these errors were encountered: