RFR : (bf) Backout 7190219 fix for jdk7u (JCK issue)

Seán Coffey sean.coffey at oracle.com
Fri Oct 5 10:10:13 PDT 2012


Jonathan,

I'm looking to back this fix out of jdk7u-dev since it's causing a JCK 
failure. The JCK test itself is too strict but we should play safe and 
revert behaviour for 7u now until the JCK issue is resolved.

There's a JCK bug following the JCK test issue  
(<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7199569>7199569)

===
JCK test api/java_nio/CharBuffer/index.html#Methods2[appendCharSequence0006]
assumes that ReadOnlyBufferException has some priority over 
BufferOverflowException if an application attempts to put a String into 
a read-only CharBuffer that has insufficient space. The spec does not 
explicitly state, which exception should be thrown if several 
constraints are violated at the same time, so the test should be 
fixed/relaxed.
====

Here's the backout webrev : (obtained with hg backout (& interrupted))
http://cr.openjdk.java.net/~coffeys/webrev.8000178/ 
<http://cr.openjdk.java.net/%7Ecoffeys/webrev.8000178/>

JDK bug report : 8000178 (not visible yet)

==========
The fix for 7190219 causes a JCK failure.
api/java_nio/CharBuffer/index.html#Methods2[appendCharSequence0006]

That JCK test in itself is too strict and is under review via Bug ID 
7199569. For the purpose of update release though, we should withdraw 
the 7190219 fix.
==========

regards,
Sean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20121005/63484b74/attachment.html 


More information about the nio-dev mailing list