RFR: 8354329: Rewrite runtime/ClassFile/JsrRewriting.java and OomWhileParsingRepeatedJsr.java tests [v3]

Anton Artemov duke at openjdk.org
Tue Apr 29 08:58:46 UTC 2025


On Tue, 29 Apr 2025 08:39:08 GMT, David Simms <dsimms at openjdk.org> wrote:

>> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8354329: Got rid of obsolete Applet inheritance, not inheriting from Object.
>
> ClassFile API should be used instead of ASM (JDK-8294976): https://bugs.openjdk.org/browse/JDK-8294976 ? There was debate about existing tests etc, but this is a new test.

@MrSimms These are not new tests,  they are both > 10 years old. I followed the discussion, these two tests belong to the "conservative" category, where ASM is only used to generate class files. It is not parsing or transformation of a class file. Thus, these tests can rely on ASM. They can be upgraded, but do not have to.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24662#issuecomment-2837996982


More information about the hotspot-runtime-dev mailing list