RFR: JDK-8230744 Several classes throw OutOfMemoryError without message
Jim Laskey
james.laskey at oracle.com
Mon Jun 1 19:18:53 UTC 2020
To be honest I should (will) file another bug against the use of math exact here. I don't think the tests actually catch what they think they test. Looks good in theory but more often than not, the pos array above that code will blow up before you get there.
> On Jun 1, 2020, at 4:09 PM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
>
> +1
>
> I quibble about the “ignored” variable name for the caught ArithmeticException.
>
> Paul.
>
>> On Jun 1, 2020, at 5:48 AM, Jim Laskey <james.laskey at oracle.com> wrote:
>>
>> Cleans up every case of OutOfMemoryError without a message. Some logic changes in String::repeat and ByteArrayChannel:: hugeCapacity.
>>
>> Thank you.
>>
>> Cheers,
>>
>> -- Jim
>>
>> webrev: http://cr.openjdk.java.net/~jlaskey/8230744/webrev-00/index.html <http://cr.openjdk.java.net/~jlaskey/8230744/webrev-00/index.html>
>> jbs: https://bugs.openjdk.java.net/browse/JDK-8230744 <https://bugs.openjdk.java.net/browse/JDK-8230744>
>>
>>
>
More information about the core-libs-dev
mailing list