test/tools/javac/annotations/typeAnnotations/classfile/NewTypeArguments.java

changeset 1755
ddb4a2bfcd82
parent 1534
bec996065c45
child 2525
2eb010b6cb22
equal deleted inserted replaced
1754:0384683c64be 1755:ddb4a2bfcd82
1 /* 1 /*
2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
46 test(cf); 46 test(cf);
47 for (Field f : cf.fields) { 47 for (Field f : cf.fields) {
48 test(cf, f); 48 test(cf, f);
49 } 49 }
50 for (Method m: cf.methods) { 50 for (Method m: cf.methods) {
51 test(cf, m); 51 test(cf, m, true);
52 } 52 }
53 53
54 countAnnotations(); 54 countAnnotations();
55 55
56 if (errors > 0) 56 if (errors > 0)

mercurial