--- old/test/langtools/tools/javac/modules/AnnotationsOnModules.java 2019-06-03 13:22:59.939384640 -0700 +++ new/test/langtools/tools/javac/modules/AnnotationsOnModules.java 2019-06-03 13:22:59.627228651 -0700 @@ -609,11 +609,11 @@ new TestCase("package test; public enum E {A, B;}", "public E value();", "test.E.A", - "@test.A(test.E.A)"), + "@test.A(A)"), new TestCase("package test; public enum E {A, B;}", "public E[] value();", "{test.E.A, test.E.B}", - "@test.A({test.E.A, test.E.B})"), + "@test.A({A, B})"), new TestCase("package test; public class Extra {}", "public Class value();", "test.Extra.class", @@ -641,7 +641,7 @@ new TestCase("package test; public enum E {A;}", "int integer(); boolean flag(); double value(); String string(); E enumeration(); ", "enumeration = test.E.A, integer = 42, flag = true, value = 3.5, string = \"Text\"", - "@test.A(enumeration=test.E.A, integer=42, flag=true, value=3.5, string=\"Text\")"), + "@test.A(enumeration=A, integer=42, flag=true, value=3.5, string=\"Text\")"), }; Path extraSrc = base.resolve("extra-src");