review request for type-annotations tests

Steve Sides steve.sides at
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
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 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8005085.tar.gz
Type: application/x-gzip
Size: 39044 bytes
Desc: not available
Url : 

More information about the type-annotations-dev mailing list