--- old/test/langtools/tools/javac/processing/environment/round/Foo.java 2018-07-24 22:42:46.233000996 -0700 +++ new/test/langtools/tools/javac/processing/environment/round/Foo.java 2018-07-24 22:42:46.081000996 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -21,7 +21,9 @@ * questions. */ -@AnnotatedElementInfo(annotationName="AnnotatedElementInfo", +import annot.AnnotatedElementInfo; + +@AnnotatedElementInfo(annotationName="annot.AnnotatedElementInfo", expectedSize=1, names="Foo") public class Foo {}