RFR: 8264990: Fix segfault when accessing local storage in webview
Kevin Rushforth
kcr at openjdk.java.net
Fri Apr 9 19:37:39 UTC 2021
On Thu, 8 Apr 2021 21:36:07 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> The fix looks OK to me, although I'd like @arun-Joseph to comfirm.
>>
>> The test needs one change in how the resource (the `.html` file) is located, and I added a couple minor comments on the test. I'll test it after that.
>
> To follow up on my earlier comment, if I move `LocalStorageAccess.html` to `tests/system/src/testapp7/resources/mymod/myapp7/` and remove the `/` from the program that loads it, the test is able to load the resource. And I verified that the test fails without your fix and passes with your fix.
The bug is now available in the JDK project in JBS:
https://bugs.openjdk.java.net/browse/JDK-8264990
-------------
PR: https://git.openjdk.java.net/jfx/pull/458
More information about the openjfx-dev
mailing list