RFR: 8366498: Simplify ClassFileParser::parse_super_class [v2]

Coleen Phillimore coleenp at openjdk.org
Wed Sep 3 11:28:46 UTC 2025


On Mon, 1 Sep 2025 08:01:11 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> I would just have:
>> 
>> else {
>>   // The class is Object - so no superclass
>> }
>
> My asserts say the same thing, except they comes with proofs that they are not lying.

I don't like the 'else' either.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27026#discussion_r2318663154


More information about the hotspot-runtime-dev mailing list