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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

      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

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: