RFR: 8294976: Convert Runtime classes to use the ClassFile API instead of ASM [v5]
Oussama Louati
duke at openjdk.org
Wed Mar 13 15:58:15 UTC 2024
On Wed, 13 Mar 2024 15:48:36 GMT, Oussama Louati <duke at openjdk.org> wrote:
>> 8294976: Convert Runtime classes to use the ClassFile API instead of ASM
>
> Oussama Louati has updated the pull request incrementally with one additional commit since the last revision:
>
> Add --enable-preview to use classFile API, and fix test failing.
test/hotspot/jtreg/runtime/verifier/OverriderMsg.java line 1:
> 1: /*
Test Description:
This test case verifies the error message when a method attempts to override a final method in its superclass.
Test Outcome:
The output of the process is analyzed using OutputAnalyzer. The test case expects the output to contain a specific error message indicating that the Overrider class is trying to override a final method in HasFinal class.
The error message should be "java.lang.IncompatibleClassChangeError: class Overrider overrides final method HasFinal.m(Ljava/lang/String;)V".
If the output contains this message, the test case passes. Otherwise, it fails.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18271#discussion_r1523528763
More information about the hotspot-runtime-dev
mailing list