JDK-8146107 : Enable web module tests in jake
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-23
  • Updated: 2016-01-08
  • Resolved: 2016-01-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Related Reports
Blocks :  
Relates :  
Description
re-enable :web:test in a Jake build
Comments
Changeset: 789b40e1b84e Author: ddhill Date: 2016-01-08 07:57 -0500 URL: http://hg.openjdk.java.net/openjfx/sandbox-9-jake/rt/rev/789b40e1b84e 8146107: Enable web module tests in jake Reviewed-by: kcr ! build.gradle + modules/web/src/test/addExports
08-01-2016

Reran with the correct setup. All is well. I, too, get just the one failure you noted. +1
07-01-2016

Ah, this was caused by something wrong I did when setting up my build (a typo). Never mind. Rerunning it now.
07-01-2016

I get two additional failure in JavaScriptBridgeTest testJSBridge4: java.lang.AssertionError: expected:<15.5> but was:<0.0> at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.failNotEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:441) at org.junit.Assert.assertEquals(Assert.java:510) at test.javafx.scene.web.JavaScriptBridgeTest.lambda$testJSBridge4$110(JavaScriptBridgeTest.java:173) testMethodCallWithWrapperObjects java.lang.AssertionError: java.lang.IllegalAccessException: class com.sun.webkit.WebPage (in module javafx.web) cannot access class test.javafx.scene.web.JavaScriptBridgeTest$WrapperObjects because module javafx.web does not read unnamed module @704be52 at test.javafx.scene.web.TestBase.submit(TestBase.java:184) at test.javafx.scene.web.JavaScriptBridgeTest.testMethodCallWithWrapperObjects(JavaScriptBridgeTest.java:350)
07-01-2016

for review: http://cr.openjdk.java.net/~ddhill/88146107/ Tests pass for me except for the one described in JDK-8146641
07-01-2016