JDK 9 RFR of 8027595: Enable BigInteger overflow tests in JTREG

Brian Burkhalter brian.burkhalter at oracle.com
Thu Apr 17 01:42:07 UTC 2014


Following up on http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-January/024171.html.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8027595#comment-13486513
Patch:	http://cr.openjdk.java.net/~bpb/8027595/webrev.00/

The tests modified as shown pass JPRT. The StringConstructorOverflow test always gets an OOME without the -Xmx8g, and the DivisionOverflow test sometimes gets an OOME, but In both cases the OOME is caught and the test does not fail.

I don’t think that this change is necessarily ideal, but it will enable at least some of the tests for some of the platofmrs which is better than now, i.e., nothing.

The summary in the patch is not quite accurate but I can update it before pushing.



More information about the core-libs-dev mailing list