RFR: 8347840: Fix testlibrary compilation warnings [v3]
Leonid Mesnik
lmesnik at openjdk.org
Thu Jan 16 18:18:16 UTC 2025
On Thu, 16 Jan 2025 07:09:46 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>>
>> revert change
>
> test/lib/jdk/test/lib/thread/VThreadPinner.java line 97:
>
>> 95: * virtual thread then it invokes the task directly.
>> 96: */
>> 97: @SuppressWarnings("unchecked")
>
> If you change the code to the follow, same in VThreadRunner then it would avoid the the SW on the method and avoid the other change you have to VThreadRunner.
>
> @SuppressWarnings("unchecked")
> var x = (X) ex;
> throw x;
Thanks!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23143#discussion_r1918978915
More information about the build-dev
mailing list