RFR: 8328111: Convert Runtime classes to use the ClassFile API instead of ASM [v9]
Oussama Louati
duke at openjdk.org
Thu Mar 14 15:46:39 UTC 2024
On Thu, 14 Mar 2024 15:40:53 GMT, Oussama Louati <duke at openjdk.org> wrote:
>> 8328111: Convert Runtime classes to use the ClassFile API instead of ASM
>
> Oussama Louati has updated the pull request incrementally with two additional commits since the last revision:
>
> - removing unnecessary whitespaces
> - convert BadMethodHandles to use classFile API
test/hotspot/jtreg/runtime/ConstantPool/BadMethodHandles.java line 1:
> 1: /*
Test Description:
The BadMethodHandles test is a part of a Java project that is designed to validate the JVM's handling of invalid method handles. The test creates four classes with invalid method handles and attempts to invoke these methods.
Test Outcome:
The expected outcome of the **BadMethodHandles** test is an **IncompatibleClassChangeError** exception for each method invocation. This exception is expected because the methods contain invalid method handles. If the expected exceptions are thrown, the test is successful and passes. However, if any other exception is thrown, or if no exception is thrown at all, the test is considered unsuccessful and fails.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18271#discussion_r1525106352
More information about the hotspot-runtime-dev
mailing list