JDK 9 RFR of 8041683: java/math/BigInteger/BitLengthOverflow.java failing with OOME
brian.burkhalter at oracle.com
Fri Apr 25 21:26:09 UTC 2014
It’s not really a solution but the patch changes BitLengthOverflow and DoubleValueOverflow to catch the OOME and print a warning to STDERR instead of failing outright. These OOMEs do not occur in JPRT runs with default parameters, so at least this patch would allow the tests to run successfully when there is enough memory but not to cause the test run to fail when there is not enough memory. This is more test coverage than never running the tests.
More information about the core-libs-dev