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

ant clean test fails with jake/nashorn after recent sync with jdk9-dev

XMLWordPrintable

      After this sync [nashorn repo in jake ]

      changeset: 1656:3529de7a283c
      tag: tip
      parent: 1655:9fb28b950f1e
      parent: 1631:e2e713228703
      user: mchung
      date: Mon Nov 30 14:58:01 2015 -0800
      summary: Merge

      "ant clean test" is broken.

      Two issues:

      1) Test compilation issue:


      compile-test:
          [javac] Compiling 100 source files to D:\src\jake\nashorn\build\test\classes
          [javac] D:\src\jake\nashorn\test\src\jdk\nashorn\internal\runtime\doubleconv \test\BignumDtoaTest.java:62: error: cannot find symbol
          [javac] import jdk.nashorn.internal.runtime.doubleconv.DoubleConversion;
          [javac] ^
          [javac] symbol: class DoubleConversion
          [javac] location: package jdk.nashorn.internal.runtime.doubleconv
          [javac] D:\src\jake\nashorn\test\src\jdk\nashorn\internal\runtime\doubleconv \test\BignumDtoaTest.java:63: error: cannot find symbol
          [javac] import jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer;
          [javac] ^
          [javac] symbol: class DtoaBuffer
          [javac] location: package jdk.nashorn.internal.runtime.doubleconv
          [javac] D:\src\jake\nashorn\test\src\jdk\nashorn\internal\runtime\doubleconv \test\BignumDtoaTest.java:64: error: cannot find symbol
          [javac] import jdk.nashorn.internal.runtime.doubleconv.DtoaMode;
          [javac] ^
          [javac] symbol: class DtoaMode
          [javac] location: package jdk.nashorn.internal.runtime.doubleconv
          [javac] D:\src\jake\nashorn\test\src\jdk\nashorn\internal\runtime\doubleconv \test\FastDtoaTest.java:39: error: cannot find symbol
          [javac] import jdk.nashorn.internal.runtime.doubleconv.DoubleConversion;
          [javac] ^
          [javac] symbol: class DoubleConversion
          [javac] location: package jdk.nashorn.internal.runtime.doubleconv
      [.... more lines ...]

      That one is due to jdk.nashorn.internal.runtime.doubleconv package is not being exported to test code.

      2) Test run failures.

      After fixing this issue by makefile change,
      test compilation was done - but many tests failed and many tests were skipped.

         [testng] ===============================================
         [testng] Ant suite
         [testng] Total tests run: 1492, Failures: 371, Skips: 170
         [testng] Configuration Failures: 6, Skips: 6
         [testng] ===============================================

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: