-
Bug
-
Resolution: Not an Issue
-
P4
-
repo-valhalla
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
.../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