Skip to content
Permalink
Browse files
8268981: [lworld] UnifiedPrimitiveClassNestHostTest.java should test …
…with the primary mirror
  • Loading branch information
Mandy Chung committed Jun 17, 2021
1 parent 3b3e4d4 commit 521bed276efe4cc2bf09daa7dc3206b9a981fc69
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/langtools/tools/javac/valhalla/lworld-values/UnifiedPrimitiveClassNestHostTest.java
@@ -65,7 +65,7 @@ public static void main(String [] args) {
if (!members[0].equals(nestHost))
throw new AssertionError("Wrong initial member: " + members[0]);

if (!members[1].equals(Inner.class))
if (!members[1].equals(Inner.class.asPrimaryType()))
throw new AssertionError("Wrong initial member: " + members[1]);

if (!members[1].getNestHost().equals(nestHost))

0 comments on commit 521bed2

Please sign in to comment.