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

TestHasNegatives.java fails after Jigsaw changes were integrated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b114

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: