RFR JDK-8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType, TypeVariable}

Srikanth srikanth.adayapalam at oracle.com
Wed Jun 10 04:41:15 UTC 2015


 > Hi Srikanth,
 >
 > I would mention that Object is not annotated in the following statements:
 > - AnnotatedWildcardType.getAnnotatedUpperBounds(): "Note that if no
 > upper bound is explicitly declared, the upper bound is Object."
 > - AnnotatedTypeVariable.getAnnotatedBounds(): "Note that if no bound is
 > explicitly declared, the bound is Object."
 > - TypeVariable.getAnnotatedBounds(): "Note that if no upper bound is
 > explicitly declared, the upper bound is Object."

Thanks for the comment Elena. I agree this suggestion is good.
Incorporated here:

http://cr.openjdk.java.net/~sadayapalam/JDK-8054304/webrev.01/

Thanks!
Srikanth

 >
 >
 > Thank you,
 > Elena
 >
 > 04.06.2015 13:16, Srikanth wrote:
 > > Hello,
 > >
 > > Please review this fix for
 > > https://bugs.openjdk.java.net/browse/JDK-8054304
 > > (twin for conformance test failures:
 > > https://bugs.openjdk.java.net/browse/JDK-8058595)
 > >
 > > JBS:
 > >
 > >     https://bugs.openjdk.java.net/browse/JDK-8054304
 > >
 > > Webrev:
 > >
 > > http://cr.openjdk.java.net/~sadayapalam/JDK-8054304/webrev.00/

[...]




More information about the core-libs-dev mailing list