On 30/11/2011 16:33, Chris Hegarty wrote:
I started to look at the reason why we suppressed unchecked warning for sun.misc.Service in a few places, and this lead me into some other sun.misc classes. Here's a change that fixes a few warnings in this area.

http://cr.openjdk.java.net/~chegar/7116722/webrev.00/webrev/

-Chris.
It's nice to see existing @SuppressWarnings going away.

What would you think of just biting the bullet and getting InetAddress and the http server switched over to using ServiceLoader?

In ExtensionDependency.installExtension then I assume you could assign to a temporary variable with the @SuppressWarnings("unchecked") at the declaration and avoid the uncheckedClone.

-Alan.

Reply via email to