On Fri, 25 Sep 2026 17:15:27 GMT, Mark Powers <[email protected]> wrote:

> https://bugs.openjdk.org/browse/JDK-8392782
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

test/jdk/sun/security/util/BitArray/BitArrayIntegerOverflow.java line 40:

> 38:     public static void main(String[] args) {
> 39:         assertThrows(OutOfMemoryError.class,
> 40:                 () -> new BitArray(Integer.MAX_VALUE - 6));

would it be useful to exercise the `BitArray(int length, byte[] a, int ofs)` 
codepath too ?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/33072#discussion_r4108315390

Reply via email to