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

List:       openjdk-openjfx-dev
Subject:    Re: RFR: 8242361: JavaFX Web View crashes with Segmentation Fault, when HTML contains Data-URIs [v6]
From:       Arun Joseph <ajoseph () openjdk ! java ! net>
Date:       2020-12-17 2:18:02
Message-ID: _dwySqfsTXrXjhn7Hjgk67MLt4SMQgHqaUda-c1vwq4=.7129fd06-0bef-44e9-b231-84a02be00cd2 () github ! com
[Download RAW message or body]

On Wed, 16 Dec 2020 19:07:17 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
> 
> Matthias Bläsing has updated the pull request incrementally with one additional \
> commit since the last revision: 
> Ensure error code 0 is not reached by normal javafx exit

Marked as reviewed by ajoseph (Committer).

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

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