RFR: 8080803: sun/nio/cs/FindEncoderBugs.java failing intermittently (original) (raw)

Xueming Shen xueming.shen at oracle.com
Thu May 21 23:24:46 UTC 2015


Martin, Alan, Joe,

Would you please help review the change (as a workaround) for this "intermittently" problem?

https://bugs.openjdk.java.net/browse/JDK-8080803 http://cr.openjdk.java.net/~sherman/8080803

It appears the trigger might be that ByteBuffer.get(byte[]) fails to get the bytes from the buffer "intermittently". Interestingly this one is always reproducible on my local linux build (very old os), in which I have to update couple hotspot headfile to make the build going recently. I filed the bug#8080904 to let the vm guy take a look.

Meanwhile the proposed change here is just to "optimized" the ISO2022 code a little to simple workaround this issue. I hope this can make the "intermittent failure" go away in our nightly build. If have time, we definitely should re-visit the implementation of these ISO2022 :-)

Thanks, -Sherman



More information about the core-libs-dev mailing list