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
When using the Java 17 support of GraalVM 21.3.0, the kafka-avro-schema-quickstart fails with:
Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.Class.protectionDomain() is reachable: The declaring class of this element has been substituted, but this element is not present in the substitution class
The text was updated successfully, but these errors were encountered:
The upstream code uses MethodHandle, which with Java 17, touches the ProtectionDomain class. That class is not accessible in GraalVM.
This commit changes the method using the MethodHandle to use regular reflection. It only applies to Java 17+.
This commit fixesquarkusio/quarkus-quickstarts#990
The upstream code uses MethodHandle, which with Java 17, touches the ProtectionDomain class. That class is not accessible in GraalVM.
This commit changes the method using the MethodHandle to use regular reflection. It only applies to Java 17+.
This commit fixesquarkusio/quarkus-quickstarts#990
(cherry picked from commit 5e299c0)
When using the Java 17 support of GraalVM 21.3.0, the kafka-avro-schema-quickstart fails with:
The text was updated successfully, but these errors were encountered: