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

TestHasNegatives.java fails after Jigsaw changes were integrated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b114

      The test compiler/intrinsics/string/TestHasNegatives.java fails after the Jigsaw changes were integrated. More precisely, the test fails when the changes by JDK-8144693 were attempted to be propagated from hs-comp to hs.

      /scratch/opt/jprt/T/P1/073032.zmajo/s/hotspot/test/compiler/intrinsics/string/TestHasNegatives.java:32: error: package exists in another module: java.base
      package java.lang;
      ^
      /scratch/opt/jprt/T/P1/073032.zmajo/s/hotspot/test/compiler/intrinsics/string/TestHasNegatives.java:34: error: StringCoding is not public in java.lang; cannot be accessed from outside package
      import java.lang.StringCoding;
                      ^
      /scratch/opt/jprt/T/P1/073032.zmajo/s/hotspot/test/compiler/intrinsics/string/TestHasNegatives.java:97: error: cannot find symbol
                          r = StringCoding.hasNegatives(tBa, off, len);
                              ^
        symbol: variable StringCoding
        location: class TestHasNegatives
      /scratch/opt/jprt/T/P1/073032.zmajo/s/hotspot/test/compiler/intrinsics/string/TestHasNegatives.java:116: error: cannot find symbol
              (new TestHasNegatives()).run();
                   ^
        symbol: class TestHasNegatives
        location: class TestHasNegatives
      4 errors

            iignatyev Igor Ignatyev (Inactive)
            zmajo Zoltan Majo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: