-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of LambdaMetafactory broken in Java 17 while working on Java 11 #4006
Comments
@zakkak thanks for reporting the issue, we will check it out and get back to you |
@zakkak I am getting below, while trying to clone
|
@mcraj017 sorry for that. The clone command should now work! |
hi @mcraj017 i see this is marked as milestone 22 but not sure when this one is expected to be released? |
@zakkak This seems fixed:
Build issue is gone, but fails at runtime with
which seems similar to a JDK 11-based build:
|
Thanks for checking @jerboaa it looks like this falls under the invokedynamic Bytecode and Method Handles related limitations of native image, so I am closing this as the build error has been resolved and the actual test is not native-image compatible. |
Describe the issue
Applications using
LambdaMetafactory.metafactory()
fail to compile with java17-21.3.0 due tojava.lang.Class.protectionDomain()
being reached. The issue does not manifest with java11-21.3.0.Steps to reproduce the issue
Describe GraalVM and your environment:
More details
Note: The provided reproducer is extracted from apache avro.
The build fails with:
The text was updated successfully, but these errors were encountered: