-
Bug
-
Resolution: Fixed
-
P3
-
9-repo-jigsaw
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8147390 | 9 | Vadim Pakhnushev | P3 | Resolved | Fixed |
This line is failing with Jake and not with 9-dev.
Object r = web.executeScript("alist.toArray(iarr)");
I am attaching a standalone test that demonstrates the problem.
I am running the test with jake using the command:
JFX_JAKE=/home/ddhill/sb/jake/jfx/rt/
$JDK9_HOME/bin/java \
-Xpatch:$JFX_JAKE/build/testing/modules \
-Djava.library.path=$JFX_JAKE/build/sdk/lib/amd64 \
-cp Tests.jar ToArrayTestFailure
The affected junit test is:
test.javafx.scene.web.JavaScriptBridgeTest > testBridgeExplicitOverloading FAILED
java.lang.AssertionError: expected same:<[Ljava.lang.Integer;@cdfd500> was not:<undefined>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotSame(Assert.java:639)
at org.junit.Assert.assertSame(Assert.java:578)
at org.junit.Assert.assertSame(Assert.java:591)
at test.javafx.scene.web.JavaScriptBridgeTest.lambda$testBridgeExplicitOverloading$108(JavaScriptBridgeTest.java:419)
Object r = web.executeScript("alist.toArray(iarr)");
I am attaching a standalone test that demonstrates the problem.
I am running the test with jake using the command:
JFX_JAKE=/home/ddhill/sb/jake/jfx/rt/
$JDK9_HOME/bin/java \
-Xpatch:$JFX_JAKE/build/testing/modules \
-Djava.library.path=$JFX_JAKE/build/sdk/lib/amd64 \
-cp Tests.jar ToArrayTestFailure
The affected junit test is:
test.javafx.scene.web.JavaScriptBridgeTest > testBridgeExplicitOverloading FAILED
java.lang.AssertionError: expected same:<[Ljava.lang.Integer;@cdfd500> was not:<undefined>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotSame(Assert.java:639)
at org.junit.Assert.assertSame(Assert.java:578)
at org.junit.Assert.assertSame(Assert.java:591)
at test.javafx.scene.web.JavaScriptBridgeTest.lambda$testBridgeExplicitOverloading$108(JavaScriptBridgeTest.java:419)
- backported by
-
JDK-8147390 Webview unit test failure with Jake
- Resolved
- blocks
-
JDK-8146107 Enable web module tests in jake
- Resolved
- relates to
-
JDK-8131896 Run gradle test tasks using a Jigsaw (jake) build
- Resolved
-
JDK-8212014 JavaScriptBridgeTest::testBridgeExplicitOverloading test fails when run with newer JDK 8u
- Resolved