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

Nashorn testsuite fails to run when one uses 32-bit java on a 64-bit Windows host.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8
    • core-libs
    • JDK 8 b111 32-bit
      Windows 7 64-bit

      Testsuite name: Nashorn

      Testsuite bug.

      Tests fail to run on 64-bit Windows host when one uses 32-bit java.

      To reproduce do the following:

      0. Choose 64-bit Windows host, install 32-bit Java 8b111 there to %JDK_32bit_HOME%. Install ANT to %ANT%
      1. hg clone http://hg.openjdk.java.net/nashorn/jdk8/nashorn %NASHORN%
      2. cd %NASHORN%\make
      3. set JAVA_HOME=%JDK_32bit_HOME%
      4. %ANT%\bin\ant test

      You will see:

      test:
         [testng] Error occurred during initialization of VM
         [testng] Could not reserve enough space for 3145728KB object heap

      BUILD FAILED
      K:\tmp\konst\workspaces\nashorn\make\build.xml:338: The tests failed.

            Unassigned Unassigned
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: