RFR JDK-8028397: Undo the lenient mimi decoder suport change (JDK-8025003) in jdk8

Xueming Shen xueming.shen at oracle.com
Fri Nov 15 17:12:31 UTC 2013

On 11/15/13 6:36 AM, Alan Bateman wrote:
> On 14/11/2013 20:59, Xueming Shen wrote:
>> :
>> Here is the webrev for the undo (keep the mime encoder(...) rename 
>> change)
>> http://cr.openjdk.java.net/~sherman/8028397/webrev
> I think is okay except for the restoring of the buffer position when 
> an error occurs. If we try to keep consistent with CharsetDecoder then 
> they should be advanced for this case. Also this is consistent with 
> the side effect that bytes may have been written to the output buffer.
> -Alan.
I'm happy to put the "IAE with advanced positions" change back, the 
webrev has been updated



More information about the core-libs-dev mailing list