RFR: 8080803: sun/nio/cs/FindEncoderBugs.java failing intermittently
Alan Bateman
Alan.Bateman at oracle.com
Fri May 22 16:55:23 UTC 2015
On 22/05/2015 00:24, Xueming Shen wrote:
> 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 :-)
Hopefully the compiler issue (assuming it is a compile issue) will get
fixed soon.
In the mean-time then this looks okay and an extra byte buffer and copy.
-Alan
More information about the core-libs-dev
mailing list