review request for type-annotations tests
Steve Sides
steve.sides at oracle.com
Fri Dec 14 14:14:50 PST 2012
Hi all,
This includes tests for combinations of target types on type usage added
to tools/javac/annotations/typeAnnotations/classfile. That is, test of
various combinations like
@Target({TYPE_USE,_OTHER_})
on various type usages(mainly inside method bodies).
It also refactored some common code from
tools/javac/annotations/typeAnnotations/classfile tests into a test
helper. This makes the tests a bit easier to read and easier to extend
or add on to if needed. I added ability to count RuntimeAnnotations as
well as RuntimeTypeAnnotations as some annotations result in two for
certain declarations and this should be checked.
Also, the WildCards test was loading up a test class from another test
("NewTypeArguments$Test.class"). I assumed this should be
"WildCards$Test.class".
-steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8005085.tar.gz
Type: application/x-gzip
Size: 39044 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/type-annotations-dev/attachments/20121214/6fa0fce7/8005085.tar-0001.gz
More information about the type-annotations-dev
mailing list