< prev index next >

test/jdk/java/lang/annotation/typeAnnotations/GetAnnotatedOwnerType.java

Print this page
rev 51789 : [mq]: asserts

*** 24,42 **** /* * @test * @bug 8058595 * @summary Test that AnnotatedType.getAnnotatedOwnerType() works as expected * ! * @library /lib/testlibrary ! * @build jdk.testlibrary.Asserts * @run main GetAnnotatedOwnerType */ import java.lang.annotation.*; import java.lang.reflect.*; ! import jdk.testlibrary.Asserts; public class GetAnnotatedOwnerType<Dummy> { public @TA("generic") GetAnnotatedOwnerType<String> . @TB("generic") Nested<Integer> genericField; public @TA("raw") GetAnnotatedOwnerType . @TB("raw") Nested rawField; public @TA("non-generic") GetAnnotatedOwnerTypeAuxilliary . @TB("non-generic") Inner nonGeneric; --- 24,42 ---- /* * @test * @bug 8058595 * @summary Test that AnnotatedType.getAnnotatedOwnerType() works as expected * ! * @library /test/lib ! * @build jdk.test.lib.Asserts * @run main GetAnnotatedOwnerType */ import java.lang.annotation.*; import java.lang.reflect.*; ! import jdk.test.lib.Asserts; public class GetAnnotatedOwnerType<Dummy> { public @TA("generic") GetAnnotatedOwnerType<String> . @TB("generic") Nested<Integer> genericField; public @TA("raw") GetAnnotatedOwnerType . @TB("raw") Nested rawField; public @TA("non-generic") GetAnnotatedOwnerTypeAuxilliary . @TB("non-generic") Inner nonGeneric;
< prev index next >