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

8144162 caused unit test compilation failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Description

      Starting process 'command 'C:/jdk/jdk1.8.0_40-b27/bin/javac.exe''. Working directory: C:\workspace\9-dev-smoketest\label\windows-i586-91\rt\modules\web Command: C:/jdk/jdk1.8.0_40-b27/bin/javac.exe @C:\workspace\9-dev-smoketest\label\windows-i586-91\rt\modules\web\build\tmp\compileTestJava\java-compiler-args.txt
      Successfully started process 'command 'C:/jdk/jdk1.8.0_40-b27/bin/javac.exe''
      C:\workspace\9-dev-smoketest\label\windows-i586-91\rt\modules\web\src\test\java\test\javafx\scene\web\MiscellaneousTest.java:116: error: cannot find symbol
                   WebEngine engine = new WebView().getEngine();
                                          ^
        symbol: class WebView
        location: class MiscellaneousTest
      Note: C:\workspace\9-dev-smoketest\label\windows-i586-91\rt\modules\web\src\test\java\test\javafx\scene\web\DebuggerTest.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      1 error
      :web:compileTestJava FAILED
      :web:compileTestJava (Thread[main,5,main]) completed. Took 3.245 secs.
      :web:processTestResources (Thread[main,5,main]) started.
      :web:processTestResources
      Executing task ':web:processTestResources' (up-to-date check took 0.032 secs) due to:
        No history is available.
      :web:processTestResources (Thread[main,5,main]) completed. Took 0.076 secs.

      FAILURE: Build failed with an exception.

      * What went wrong:
      Execution failed for task ':web:compileTestJava'.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              azvegint Alexander Zvegintsev
              Reporter:
              azvegint Alexander Zvegintsev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: