Review request for JDK-8016880: 42 tests in annot102* fail with compile-time errors

Eric McCorkle eric.mccorkle at oracle.com
Tue Jul 23 13:49:44 PDT 2013


On 07/23/13 16:35, Alex Buckley wrote:
> Obviously an annotation anywhere in the upper bound of a type parameter
> should be invisible when it comes to using the type variable introduced
> by the type parameter, say in a method signature.
> 
> I presume the test expects errors from both the t1 anon.inner class and
> the t2 anon.inner class ?

No.  The test will not compile if type annotations on bounds cause the
parent types to be unequal.  If the test compiles, then javac is doing
what (I believe) it's supposed to do.

> 
> Alex
> 
> On 7/23/2013 1:15 PM, Eric McCorkle wrote:
>> Hello,
>>
>> Please review this patch, which fixes some JCK failures related to type
>> annotations.
>>
>> The root cause of these is AnnotatedType, which has been scheduled for
>> replacement.
>>
>> The webrev is here:
>> http://cr.openjdk.java.net/~emc/8016880/
>>
>> The bug report is here:
>> http://bugs.sun.com/view_bug.do?bug_id=8016880
>>
>> Thanks,
>> Eric
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric_mccorkle.vcf
Type: text/x-vcard
Size: 314 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20130723/9df38c04/eric_mccorkle.vcf 


More information about the compiler-dev mailing list