RFR: 8003380 - Compiler warnings in logging test code

Chris Hegarty chris.hegarty at oracle.com
Wed Nov 14 22:44:10 UTC 2012


Interesting... fixing warnings in tests. A few comments.

- LoggingMXBeanTest2.java
  ListIterator<?> -> ListIterator<String> and remove redundant cast ?
- @SuppressWarnings("unused")   Eclipse???
  Do we have precedent for adding these suppressions??  
- ClassLoaderLeakTest
  Why the change to use toURI().toURL() ??
-Chris

On 14 Nov 2012, at 21:15, Jim Gish <jim.gish at oracle.com> wrote:

> Please review http://cr.openjdk.java.net/~jgish/Bug8003380-logging-test-warnings/ <http://cr.openjdk.java.net/%7Ejgish/Bug8003380-logging-test-warnings/>
> 
> These are simple changes to eliminate compiler warnings from java.util.logging test code.
> 
> Thanks,
>   Jim
> 
> -- 
> Jim Gish | Consulting Member of Technical Staff | +1.781.442.0304
> Oracle Java Platform Group | Core Libraries Team
> 35 Network Drive
> Burlington, MA 01803
> jim.gish at oracle.com
> 



More information about the core-libs-dev mailing list