7116722: Miscellaneous warnings sun.misc ( and related classes )
chris.hegarty at oracle.com
Wed Nov 30 14:34:17 PST 2011
Thanks for all the feedback.
- use diamond in JarIndex (style issue)
- sun.misc.Service -> java.util.ServiceLoader
in InetAddress and HttpServerProvider
- ExtensionDependency: suppress unchecked on declaration/assignment
On 30/11/2011 19:02, Lance Andersen - Oracle wrote:
> Hi Chris,
> Do you want to use diamond reference on lines 81, 82 of jarindex.java?
> In Signal.java, line 203, i do not think you need new Integer() any longer?
> Other than that it looks good
> On Nov 30, 2011, at 11:33 AM, 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://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen|
> Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering
> 1 Network Drive
> Burlington, MA 01803
> Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
More information about the core-libs-dev