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

[lworld] test hotspot/jtreg/runtime/.../ValueTypeArray.java test fails to compile

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      The hotspot jtreg runtime test ValueTypeArray.java fails to compile:

      .../test/hotspot/jtreg/runtime/valhalla/valuetypes/ValueTypeArray.java:196: error: unexpected type
      jib > static final __ByValue class MyInt implements Comparable<MyInt> {
      jib > ^
      jib > required: reference
      jib > found: MyInt
      jib > .../test/hotspot/jtreg/runtime/valhalla/valuetypes/ValueTypeArray.java:268: error: unexpected type
      jib > ArrayList<MyInt> aList = new ArrayList<MyInt>(Arrays.asList(copyMyInts));
      jib > ^
      jib > required: reference
      jib > found: MyInt
      jib > open/test/hotspot/jtreg/runtime/valhalla/valuetypes/ValueTypeArray.java:268: error: unexpected type
      jib > ArrayList<MyInt> aList = new ArrayList<MyInt>(Arrays.asList(copyMyInts));
      jib > ^
      jib > required: reference
      jib > found: MyInt
      jib > Note .../test/hotspot/jtreg/runtime/valhalla/valuetypes/ValueTypeArray.java uses unchecked or unsafe operations.
      jib > Note: Recompile with -Xlint:unchecked for details.
      jib > 3 errors
      jib >
      jib > TEST RESULT: Failed. Compilation failed: Compilation failed

        Attachments

          Activity

            People

            • Assignee:
              hseigel Harold Seigel
              Reporter:
              hseigel Harold Seigel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: