On Tue, 25 Aug 2026 16:25:35 GMT, Fabian Meumertzheim <[email protected]> wrote:

>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Fabian Meumertzheim has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Address second round of comments

test/jdk/java/util/concurrent/forkjoin/GetMultipleWaiters.java line 48:

> 46:     void testGet() throws Exception {
> 47:         var task = ForkJoinTask.adapt(() -> {});
> 48:         Throwable[] thrown = {null};

Suggestion:

        var thrown = new Throwable[1];

test/jdk/java/util/concurrent/forkjoin/GetMultipleWaiters.java line 82:

> 80:     void testTimedGet() throws Exception {
> 81:         var task = ForkJoinTask.adapt(() -> {});
> 82:         Throwable[] thrown = {null};

Suggestion:

        var thrown = new Throwable[1];

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32485#discussion_r3863079746
PR Review Comment: https://git.openjdk.org/jdk/pull/32485#discussion_r3863083718

Reply via email to