[OpenJDK 2D-Dev] Request for review: updated 2 files to use generic type
Sean Chou
zhouyx at linux.vnet.ibm.com
Tue Jun 19 08:00:04 UTC 2012
Hi all,
I updated 2 files(src/share/classes/sun/font/StrikeCache.java,
src/share/classes/sun/java2d/Disposer.java) to use generic type, and
updated several old version generic to diamond(<>), a type from Object to
Void ; and by the way an invocation to a static method.
In order to get a ReferenceQueue<object> in StrikeCache.java I changed
the return type of Disposer.getQueue from ReferenceQueue to
ReferenceQueue<Object> .
The webrev is at:
http://cr.openjdk.java.net/~zhouyx/OJDK-389/webrev.01/ .
Some comments collected as I didn't send the mail to the right mailing list:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-May/010103.html
http://mail.openjdk.java.net/pipermail/2d-dev/2012-June/002589.html
--
Best Regards,
Sean Chou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20120619/23f1cd4c/attachment.html>
More information about the 2d-dev
mailing list