-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[native-image] makeShimDLL for java.dll is missing exports and fails #3393
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
Comments
This seems to be related to JDK16, with JDK11 it compiles but still get exception when trying to run:
|
@pquiring please provide the reproducer |
Just a very simple AWT test (JFrame with one JButton):
|
@pquiring thanks for the reproducer |
@pquiring I have tried the reproducer and I am able to build it, But there are errors while running it, which is currently being resolved by our team. please check the following issues:#2835 and #2545
|
@pquiring i used GraalVM-21.2.0-dev |
Ok, I will wait for 21.2 and check progress then. |
FYI - That InvocationTargetException can be fixed by copying |
I am running into a similar issue with 21.3.0 dev build for Windows. I tried this with 21.1.0 initially and got the same error.
|
I'm still getting this very same issue on graalvm 22.3.1 so why is this issue closed? , see my comment on this another thread: #4563 (comment) |
Describe the issue
Generating a native-image that uses AWT is failing to generate the java.dll shim DLL.
Steps to reproduce the issue
Run native-image on very simple AWT example.
Describe GraalVM and your environment:
Here is the output from native-image with the -H:+TraceNativeToolUsage option added to show the error.
The text was updated successfully, but these errors were encountered: