On Fri, 9 Apr 2021 15:51:05 GMT, Kevin Rushforth <[email protected]> wrote:
>> Can you tell me how you ran it? I ensured, that the test failed with a
>> segfault before continuing with the fix. While I did that I indeed placed
>> the file in the wrong directory, but currently I see no test failures
>> locally. I run:
>>
>> ./gradlew -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:cleanTest
>> :systemTests:test --tests test.com.sun.webkit.LocalStorageAccessTest
>>
>> to only invoke the new test. I'll move the file to the package, but I'd like
>> to understand where I went wrong.
>
> That's how I ran it, too. I did it from a clean repo. This was on Windows,
> but shouldn't matter.
I just tried it on Linux and get the same failure:
Caused by: java.lang.NullPointerException: Cannot invoke
"java.net.URL.toExternalForm()" because the return value of
"java.lang.Class.getResource(String)" is null
at
mymod/myapp7.LocalStorageAccessWithModuleLayer.start(LocalStorageAccessWithModuleLayer.java:92)
at
javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:849)
at
javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:474)
at
javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:447)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at
javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:446)
at
javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native
Method)
at
javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
... 1 more
-------------
PR: https://git.openjdk.java.net/jfx/pull/458