mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 14:39:49 +00:00
8039079: Test tools/javac/processing/environment/round/TestElementsAnnotatedWith.java fails
Ensuring the test passes in both samevm and othervm modes. Reviewed-by: darcy
This commit is contained in:
parent
bd6695901c
commit
69c52bd73b
@ -1,4 +1,3 @@
|
||||
ErroneousAnnotations.java:8:2: compiler.err.cant.resolve: kindname.class, Undefined, ,
|
||||
ErroneousAnnotations.java:10:6: compiler.err.cant.resolve.location: kindname.class, Undefined, , , (compiler.misc.location: kindname.class, ErroneousAnnotations, null)
|
||||
2 errors
|
||||
Results: []
|
||||
|
||||
@ -93,7 +93,8 @@ public class TestElementsAnnotatedWith extends JavacTestingAbstractProcessor {
|
||||
roundEnvironment.
|
||||
getElementsAnnotatedWith(elements.getTypeElement(annotatedElementInfo.annotationName()));
|
||||
|
||||
System.err.println("Results: " + resultsMeta);
|
||||
if (!resultsMeta.isEmpty())
|
||||
System.err.println("Results: " + resultsMeta);
|
||||
|
||||
if (resultsMeta.size() != annotatedElementInfo.expectedSize()) {
|
||||
failed = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user