[7u4] Request for phase 2 approval CR 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails

Frederic Parain frederic.parain at oracle.com
Fri Mar 16 10:08:18 PDT 2012


The first implementation of this method was working
as expected, but a later modification has introduced
this bug. The issue has not been detected before the
push because there wasn't any unit test or TCK test
associated with this method at this time. A CR
requesting the addition of tests for this method to
the TCK exists, but the fix has not been implemented
yet.

I've contacted the TCK team about this issue, but I
don't know when the TCK will be fixed.

This changeset contains a unit test to prevent this
issue to happen again.

Fred

On 3/16/12 6:00 PM, Andrew Hughes wrote:
> ----- Original Message -----
>> CR: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7074616
>> Webrev: http://cr.openjdk.java.net/~fparain/7074616/webrev.01/
>> Technical Review:
>> http://mail.openjdk.java.net/pipermail/serviceability-dev/2012-March/005455.html
>>
>> Reviewers: David Holmes, Staffan Larsen
>>
>> Testing: The fix is the same for JDK8 and JDK7u4. It has been already
>> pushed to JDK8 and tested on all platforms with JPRT yesterday using
>> latest 7u4 sources.
>>
>> Rationale for inclusion in 7u4: This method is part of the JDK7
>> specification and fails unconditionally.
>>
>
> Any idea how this bug got through in the first place?  Unless I'm misunderstanding
> something, it sounds like the method was never run.
>
>> Thanks,
>>
>> Fred
>>
>> --
>> Frederic Parain - Oracle
>> Grenoble Engineering Center - France
>> Phone: +33 4 76 18 81 17
>> Email: Frederic.Parain at Oracle.com
>>
>>
>

-- 
Frederic Parain - Oracle
Grenoble Engineering Center - France
Phone: +33 4 76 18 81 17
Email: Frederic.Parain at oracle.com




More information about the jdk7u-dev mailing list