[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Integrated: 8242361: JavaFX Web View crashes with Segmentation Fault, when HTML contains Data-URIs
From:       Matthias =?UTF-8?B?QmzDpHNpbmc=?= <github.com+2179736+matthiasblaesing () openjdk ! j
Date:       2020-12-17 18:15:57
Message-ID: k2ajdRwigRxHFbj_csbULvVoVd6KT3owhlgDIgFnUOQ=.b982c200-4182-4a97-8464-690d1fa7c3a2 () github ! com
[Download RAW message or body]

On Tue, 24 Nov 2020 21:28:29 GMT, Matthias Bläsing <github.com+2179736+matthiasblaesing@openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: e61b9239
Author:    Matthias Bläsing <mblaesing@doppel-helix.eu>
Committer: Kevin Rushforth <kcr@openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/e61b9239
Stats:     368 lines in 6 files changed: 348 ins; 15 del; 5 mod

8242361: JavaFX Web View crashes with Segmentation Fault, when HTML contains Data-URIs

Reviewed-by: kcr, ajoseph

-------------

PR: https://git.openjdk.java.net/jfx/pull/360
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic