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

Andrew Hughes ahughes at redhat.com
Fri Mar 16 11:11:59 PDT 2012


----- Original Message -----
> 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.
> 

Ah, so it did work in u2 and earlier?

> 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.
> 

Yes, I saw that.  Good to see we'll catch such an issue in future.

> 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
> 
> 

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the jdk7u-dev mailing list