On Thu, 16 Jan 2025 07:09:46 GMT, Alan Bateman <al...@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