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

JDK 11 GA fails JCK11 test: UTF-8/UTF-16 String data conversion problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 11
    • core-libs
    • -XX:-CompactStrings

    • 11
    • generic
    • generic

      JCK test fails on platforms without strings compacting (Zero, ARM32, etc) and on all platforms with -XX:-CompactStrings option:
      JCK-runtime-11/tests/api/java_nio/file/Files/WriteAndReadStrFromPathTests.java

      Minimal manual test (attached):
      $ ./jdk-11/bin/java -XX:-CompactStrings WriteAndReadTests
      FAIL - strings are not equal: "some text" != "some text"
      length: 9 18

            joehw Joe Wang
            bulasevich Boris Ulasevich
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: