Request for approval: 7121314 : Behavior mismatch between AbstractCollection.toArray(T[] ) and its spec (original) (raw)

Seán Coffey sean.coffey at oracle.com
Mon Sep 3 05:04:37 PDT 2012


Good point on it having to be a race condition. OK - sounds reasonable for backport then.

Sean - I've created a bug record for you. Will update when I see your push.

regards, Sean.

On 03/09/2012 12:16, David Holmes wrote:

On 3/09/2012 9:08 PM, Seán Coffey wrote:

Behavior mismatch between AbstractCollection.toArray(T[] ) and its spec Is such a correction in an update allowed now ? Even if it is a correction to original (released) behaviour ? This may be harmless but I'm checking to be sure.

David, Mike, Sean - what are your thoughts here ? Does this need further discussion with conformance/compatibility engineers ? I don't have an issue with it. I can't imagine anyone relying on it working the way it had been as the whole thing depends on a race condition anyway. David regards, Sean. On 03/09/2012 09:54, Sean Chou wrote: Hello,

Here is a request for porting fix 7121314 back to JDK7, could you please help review? Bug is: http://bugs.sun.com/bugdatabase/viewbug.do?bugid=7121314 Changeset is: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e06ea0dd9207 Thread where it was reviewed: http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-March/009561.html



More information about the jdk7u-dev mailing list