-
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
[OpenJDK 15] Removal of nashorn javascript engine breaks build #2365
Comments
This gets one further (past nashorn removal), but then a slew of errors result
Error then looks similar to:
|
I just discovered this issue yesterday. I believe the problem is caused by the introduction of Hidden classes (8238358). https://hg.openjdk.java.net/jdk/jdk/rev/30ec85283758 A build of JDK15 before and after the Hidden Classes changeset proves that this change is the cause of the UnsupportedFeatureException. The failure occurs when native-image is trying to process an The methodHandleMethod is ... AnalysisMethod<java.lang.invoke.Invokers$Holder.linkToTargetMethod -> HotSpotMethod<Invokers$Holder.linkToTargetMethod(Object)>> In IntrinsifyMethodHandlesInvocationPlugin.java node is 12|DynamicNewInstance
Please go ahead and do a PR for the nashorn removal and I'll open a new issue for the Hidden classes problem. |
JDK 15 removed nashorn with: https://bugs.openjdk.java.net/browse/JDK-8241749 Closes oracle#2365
OK. #2383 |
@bobvandette Please cc me on the hidden classes issue. Thanks! |
Here is the Hidden Classes issue #2382 |
Thanks! |
JDK 15 removed nashorn with: https://bugs.openjdk.java.net/browse/JDK-8241749 Closes oracle#2365
JDK 15 removed nashorn with: https://bugs.openjdk.java.net/browse/JDK-8241749 Closes oracle#2365
In jdk/jdk the nashorn javascript has been removed:
https://openjdk.java.net/jeps/372
https://bugs.openjdk.java.net/browse/JDK-8241749
This breaks the graal VM native image build like this:
Substrate VM needs to get updated to account for this. I hope to get a fix in for this later in the week.
/cc @bobvandette
The text was updated successfully, but these errors were encountered: