RFR: 8294976: Convert Runtime classes to use the ClassFile API instead of ASM [v4]

Oussama Louati duke at openjdk.org
Wed Mar 13 14:33:25 UTC 2024


On Wed, 13 Mar 2024 14:30:13 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:
> 
>   convert test OvverriderMsg to use ClassFile API instead of ASM.

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_r1523366821


More information about the hotspot-runtime-dev mailing list