RFR: 8080803: sun/nio/cs/FindEncoderBugs.java failing intermittently

Martin Buchholz martinrb at google.com
Wed May 27 06:50:30 UTC 2015


Not really a review ... but ... if this is really catching a hotspot bug, I
would be tempted to leave the test failing to make it more likely that the
hotspot bug fix is not swept under the rug and forgotten.

On Thu, May 21, 2015 at 4:24 PM, Xueming Shen <xueming.shen at oracle.com>
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 :-)
>
> Thanks,
> -Sherman
>



More information about the core-libs-dev mailing list