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
8245456: MacPasteboard throws ClassCastException on static builds #228
Conversation
👋 Welcome back jpereda! A progress list of the required criteria for merging this PR into |
So this is a case where native image exposed a latent bug in FX. Would this have been caught by |
@jperedadnr This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
There are currently no new commits on the As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kevinrushforth) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
@jperedadnr |
/sponsor |
@kevinrushforth @jperedadnr |
Trying to paste on a JavaFX app statically built on Mac OS throws:
Checking the native method signature a
String[][]
type is expected. However the native method implementation uses:This PR fixes the issue by applying the correct array type signature according to JNI specs.
It has been tested on Mac OS, both with and without static build.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/228/head:pull/228
$ git checkout pull/228