> 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
Matthias Bläsing has updated the pull request incrementally with one additional commit since the last revision: 8242361: Add missing copyright headers and integrate test into systemTests ------------- Changes: - all: https://git.openjdk.java.net/jfx/pull/360/files - new: https://git.openjdk.java.net/jfx/pull/360/files/02ba4ed2..0281aa12 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=360&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=360&range=00-01 Stats: 447 lines in 10 files changed: 290 ins; 156 del; 1 mod Patch: https://git.openjdk.java.net/jfx/pull/360.diff Fetch: git fetch https://git.openjdk.java.net/jfx pull/360/head:pull/360 PR: https://git.openjdk.java.net/jfx/pull/360