8242361: JavaFX Web View crashes with Segmentation Fault, when HTML contains Data-URIs #360
The code in WTF::scheduleDispatchFunctionsOnMainThread assumes, that
One such case is when the OpenJFX modules are loaded from a new
The test code can be executed by running:
…ontains Data-URIs The code in WTF::scheduleDispatchFunctionsOnMainThread assumes, that the java class com.sun.webkit.MainThread can be found be the JNI function FindClass. This is only true if the class is loadable by the system class loader. One such case is when the OpenJFX modules are loaded from a new ModuleLayer. To fix this, the reference to the class needs to be loaded from when a JNI call from Java into native code is active. In that case FindClass uses the classloader associated with that method. The test code can be executed by running: cd tests/manual/web/dataurl ../../../../gradlew run
Hi @matthiasblaesing, welcome to this OpenJDK project and thanks for contributing!
We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing
If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user matthiasblaesing" as summary for the issue.
If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing
I'll plan to look at this next week. I have a general question and a comment:
Thank you for the pointer to
Sorry about that - should be fixed in the updated version.
@matthiasblaesing This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 11 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
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, @arun-Joseph) but any other Committer may sponsor as well.
Your commit was automatically rebased without conflicts.
Pushed as commit e61b923.