On Tue, 9 Jul 2024 14:42:42 GMT, Doug Simon <dnsi...@openjdk.org> wrote:
>> test/jdk/jdk/internal/vm/TestTranslatedException.java line 167: >> >>> 165: private static void assertThrowableEquals(Throwable originalIn, >>> Throwable decodedIn) { >>> 166: Throwable original = originalIn; >>> 167: Throwable decoded = decodedIn; >> >> What is the purpose of this renaming? > > So that the printing down the bottom of this message shows the complete > throwable, not just the cause on which the comparison failed. Thanks! I missed the reassign in the folded unchanged code. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20083#discussion_r1670683400