7116722: Miscellaneous warnings sun.misc ( and related classes )
Alan.Bateman at oracle.com
Wed Nov 30 08:56:35 PST 2011
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.
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.
More information about the core-libs-dev