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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: core-libs
    • Environment:

      -XX:-CompactStrings

    • Subcomponent:
    • Introduced In Version:
      11
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: