< prev index next >

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

Print this page

        

*** 175,185 **** "\n\n"); } } } ! private static final Pattern annotationRegex = Pattern.compile("@TestObjectMethods\\$AnnotType\\(value=(\\p{Digit})+\\)"); static void testGetAnnotations(Class<?> clazz, boolean annotationsExpectedOnMethods) { System.err.println("Testing getAnnotations on methods of class " + clazz.getName()); Method[] methods = clazz.getDeclaredMethods(); for (Method m : methods) { --- 175,185 ---- "\n\n"); } } } ! private static final Pattern annotationRegex = Pattern.compile("@TestObjectMethods\\$AnnotType\\((\\p{Digit})+\\)"); static void testGetAnnotations(Class<?> clazz, boolean annotationsExpectedOnMethods) { System.err.println("Testing getAnnotations on methods of class " + clazz.getName()); Method[] methods = clazz.getDeclaredMethods(); for (Method m : methods) {
< prev index next >