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

JavaFX overlay of j2sdk-image not performed on Mac builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 9
    • install
    • generic

      The JavaFX overlay of the j2sdk-image isn't done properly on the mac builds, thus jfxrt.jar file (and possibly other JavaFX files) is missing from the mac builds, whereas they are present on other platforms. This has caused some tests to fail on an unexpected subset of the platforms in the JDK 9 nightly builds. See comments from Stuart Marks on 2014-03-10 for a full explanation.

      ==========

      TESTFAIL:java/lang/Class/asSubclass/BasicUnit.java

      The test java/lang/Class/asSubclass/BasicUnit.java failed in nighlty. see log:

      #section:script_messages
      ----------messages:(5/217)----------
      JDK under test: (/Users/aurora/CommonData/jdk)
      java version "1.9.0-ea"
      Java(TM) SE Runtime Environment (build 1.9.0-ea-langtools-nightly-h167-20140309-b04-b00)
      Java HotSpot(TM) Server VM (build 25.0-b62, mixed mode)


      #section:compile
      ----------messages:(3/233)----------
      command: compile -Xlint:unchecked -Werror /Users/aurora/sandbox/testbase/test/java/lang/Class/asSubclass/BasicUnit.java
      reason: User specified action: run compile -Xlint:unchecked -Werror BasicUnit.java
      elapsed time (seconds): 0.02
      ----------rerun:(23/1672)*----------
      DISPLAY=sc11152338.us.oracle.com:1 \\
      HOME=/Users/aurora \\
      LANG=en_US.UTF-8 \\
      PATH=/bin:/usr/bin \\
      TZ=PST8PDT \\
          /Users/aurora/CommonData/jdk/bin/javac \\
              -J-ea \\
              -J-esa \\
              -J-Xmx512m \\
              -J-d32 \\
              -J-Dtest.vm.opts='-ea -esa -Xmx512m' \\
              -J-Dcompile.jdk=/Users/aurora/CommonData/jdk \\
              -J-Dtest.src.path=/Users/aurora/sandbox/testbase/test/java/lang/Class/asSubclass \\
              -J-Dtest.src=/Users/aurora/sandbox/testbase/test/java/lang/Class/asSubclass \\
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
              -J-Dtest.class.path=/Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/classes/java/lang/Class/asSubclass \\
              -J-Dtest.timeout.factor=4.0 \\
              -J-Dtest.classes=/Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/classes/java/lang/Class/asSubclass \\
              -J-Dtest.class.path.prefix=/Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/classes/java/lang/Class/asSubclass:/Users/aurora/sandbox/testbase/test/java/lang/Class/asSubclass \\
              -J-Dtest.jdk=/Users/aurora/CommonData/jdk \\
              -J-Dtest.java.opts=-d32 \\
              -J-Dtest.compiler.opts= \\
              -d /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/classes/java/lang/Class/asSubclass -classpath /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/classes/java/lang/Class/asSubclass:/Users/aurora/sandbox/testbase/test/java/lang/Class/asSubclass:/Users/aurora/CommonData/jdk/lib/tools.jar -sourcepath /Users/aurora/sandbox/testbase/test/java/lang/Class/asSubclass -Xlint:unchecked -Werror /Users/aurora/sandbox/testbase/test/java/lang/Class/asSubclass/BasicUnit.java
      ----------direct:(4/215)----------
      warning: Supported source version 'RELEASE_8' from annotation processor 'com.sun.javafx.fxml.annotation.FXMLAnnotationProcessor' less than -source '1.9'
      error: warnings found and -Werror specified
      1 error
      1 warning
      result: Failed. Compilation failed: Compilation failed


      test result: Failed. Compilation failed: Compilation failed

            dmalav Dinesh Malav (Inactive)
            ewang Eric Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: