RFR(S): 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails

2012-03-02 Thread Frederic Parain
Greetings, A simple bug fix. The getPlatformManagementInterfaces() method tries to populate a TreeSet with classes that don't implement the Comparable interface. The return type of the method is Set>, so no need to have a sorted collection. The fix replaces the use of a TreeSet with a HashSet. T

Re: RFR(S): 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails

2012-03-02 Thread Staffan Larsen
Looks good. But should we add a test for this? /Staffan On 2 mar 2012, at 10:42, Frederic Parain wrote: > Greetings, > > A simple bug fix. The getPlatformManagementInterfaces() > method tries to populate a TreeSet with classes that > don't implement the Comparable interface. The return > type o

Re: RFR(S): 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails

2012-03-02 Thread David Holmes
On 2/03/2012 9:07 PM, Staffan Larsen wrote: Looks good. But should we add a test for this? I was about to say exactly the same thing! How has this never been noticed? David /Staffan On 2 mar 2012, at 10:42, Frederic Parain wrote: Greetings, A simple bug fix. The getPlatformManagementInte

Re: RFR(S): 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails

2012-03-02 Thread Frederic Parain
I was surprised too that this bug has not been detected during testing. I can add a test for this method, however, this is a public method of a public class in the java.lang.management package. I would expect the JCK to have a test for it. Fred On 3/2/12 12:17 PM, David Holmes wrote: On 2/03/20

hg: jdk8/tl/langtools: 3 new changesets

2012-03-02 Thread maurizio . cimadamore
Changeset: 161230ec7c73 Author:mcimadamore Date: 2012-03-02 12:57 + URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/161230ec7c73 7132880: Resolve should support nested resolution contexts Summary: Overload resolution routine should be updated so that it can be called recu

Re: Patch to fix build breakage with GCC 4.7

2012-03-02 Thread Andrew Hughes
- Original Message - > * Andrew Hughes [2012-03-01 15:40]: > > - Original Message - > > > * Kelly O'Hair [2012-02-29 20:39]: > > > > The sample.makefile.txt files may not even be used during the > > > > build, I'm not sure. > > > > They may have only been supplied as documentation

Re: Patch to fix build breakage with GCC 4.7

2012-03-02 Thread Deepak Bhole
* Andrew Hughes [2012-03-02 10:09]: > - Original Message - > > * Andrew Hughes [2012-03-01 15:40]: > > > - Original Message - > > > > * Kelly O'Hair [2012-02-29 20:39]: > > > > > The sample.makefile.txt files may not even be used during the > > > > > build, I'm not sure. > > > >

hg: jdk8/tl/jdk: 6988842: jce/ECC test fails for SunPKCS11 provider using nss library

2012-03-02 Thread vincent . x . ryan
Changeset: 3664ca46bc91 Author:vinnie Date: 2012-03-02 17:24 + URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3664ca46bc91 6988842: jce/ECC test fails for SunPKCS11 provider using nss library Reviewed-by: mullan ! make/sun/security/Makefile ! src/share/classes/sun/security/pkc

hg: jdk8/tl/jdk: 7146763: Warnings cleanup in the sun.rmi and related packages

2012-03-02 Thread kurchi . subhra . hazra
Changeset: 8f61ac5986ee Author:khazra Date: 2012-03-02 13:48 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8f61ac5986ee 7146763: Warnings cleanup in the sun.rmi and related packages Summary: Cleanup warnings and use jkd7 features in sun.rmi.* Reviewed-by: smarks, chegar, for