Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124038

JavaScriptBridge unit test fails to compile with JDK 8-b84

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None
    • JDK 1.8.0-ea-b84
      Windows 7

    • web

      $ java -version
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b84)
      Java HotSpot(TM) Client VM (build 25.0-b25, mixed mode)


      $ ant test
          [mkdir] Created dir: C:\Users\kcr\javafx\8-kcr-gfx\jfx\rt-closed\javafx-ui-webnode\build\test\classes
          [javac] Compiling 28 source files to C:\Users\kcr\javafx\8-kcr-gfx\jfx\rt-closed\javafx-ui-webnode\build\test\classes
          [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
          [javac] C:\Users\kcr\javafx\8-kcr-gfx\jfx\rt-closed\javafx-ui-webnode\test\javafx\scene\web\JavaScriptBridgeTest.java:55: error: method call in class JSObject cannot be applied to given types;
          [javac] assertEquals(Boolean.TRUE, bodyNode.call("hasChildNodes"));
          [javac] ^
          [javac] required: String,Object[]
          [javac] found: String
          [javac] reason: actual and formal argument lists differ in length
          [javac] C:\Users\kcr\javafx\8-kcr-gfx\jfx\rt-closed\javafx-ui-webnode\test\javafx\scene\web\JavaScriptBridgeTest.java:79: error: method call in class JSObject cannot be applied to given types;
          [javac] .call(null);
          [javac] ^
          [javac] required: String,Object[]
          [javac] found: <null>
          [javac] reason: actual and formal argument lists differ in length
          [javac] C:\Users\kcr\javafx\8-kcr-gfx\jfx\rt-closed\javafx-ui-webnode\test\javafx\scene\web\JavaScriptBridgeTest.java:247: error: method call in class JSObject cannot be applied to given types;
          [javac] parent.call(null);
          [javac] ^
          [javac] required: String,Object[]
          [javac] found: <null>
          [javac] reason: actual and formal argument lists differ in length
          [javac] Note: C:\Users\kcr\javafx\8-kcr-gfx\jfx\rt-closed\javafx-ui-webnode\test\javafx\scene\web\DebuggerTest.java uses or overrides a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 3 errors

      BUILD FAILED

            peterz Peter Zhelezniakov
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: