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

Fix sun/text/IntHashtable/Bug4170614 for JDK 8u

XMLWordPrintable

    • b01

      These tests were introduced to 8u with JDK-8031145. But it cannot really run on 8u, because it uses JDK 9+ module patching. So it fails like this:

      + /home/shade/trunks/jdk8u-dev/build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image/bin/java -XX:MaxRAMPercentage=1.0 -ea -esa -Xmx512m -Xpatch:java.base=/home/shade/trunks/jdk8u-dev/build/linux-x86_64-normal-server-fastdebug/testoutput/jdk_adhoc/JTwork/classes/0/sun/text/IntHashtable/java.base java.text.Bug4170614Test
      Unrecognized option: -Xpatch:java.base=/home/shade/trunks/jdk8u-dev/build/linux-x86_64-normal-server-fastdebug/testoutput/jdk_adhoc/JTwork/classes/0/sun/text/IntHashtable/java.base
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: