<AWT Dev> [OpenJDK 2D-Dev] Request for review: updated 2 files to use generic type

Sean Chou zhouyx at linux.vnet.ibm.com
Mon Jun 18 19:39:05 PDT 2012


My mistake, I accidently read Alan's comment as "awt-dev" ...

On Mon, Jun 18, 2012 at 9:13 PM, Artem Ananiev <artem.ananiev at oracle.com>wrote:

> Hi, Sean,
>
> Alan is right, this request should be sent to 2d-dev, so I'm adding this
> mailing list to CC and moving awt-dev to BCC.
>
> The changes in StrikeCache look fine to me. I would just replace
> PrivilegedAction<Object> with PrivilegedAction<Void>, so it is instantly
> clear that the returned value is discarded.
>
> As for Disposer changes... I'm not an expert in generics in Java and can't
> provide any comments for <?> :)
>
> Thanks,
>
> Artem
>
> PS I'm not a member of Java2D group and can't review/approve fixes to
> Java2D-related files like StrikeCache and Disposer.
>
>
> On 6/18/2012 6:48 AM, Sean Chou wrote:
>
>> Hello awt-dev guys,
>>
>>     I updated 2 files(src/share/classes/sun/**font/StrikeCache.java,
>> src/share/classes/sun/java2d/**Disposer.java) to use generic type, but
>> I'm
>> not sure if I modified too much. Especially I changed the return type of
>> Disposer.getQueue from ReferenceQueue to ReferenceQueue<Object> .
>>
>> The webrev is: http://cr.openjdk.java.net/~**zhouyx/OJDK-389/webrev.00/<http://cr.openjdk.java.net/~zhouyx/OJDK-389/webrev.00/>
>>
>>     The mail was sent to core-libs and there are some comments from
>> David Homles and Rémi Forax.
>> http://mail.openjdk.java.net/**pipermail/core-libs-dev/2012-**
>> May/010103.html<http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-May/010103.html>
>>
>> Please take a look.
>> ||||
>>
>> --
>> Best Regards,
>> Sean Chou
>>
>>


-- 
Best Regards,
Sean Chou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20120619/38184319/attachment.html 


More information about the awt-dev mailing list