On Tue, 17 Nov 2026 11:27:27 GMT, Markus Grönlund <[email protected]> wrote:
>> src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
>> line 364:
>>
>>> 362: int flags = NESTMATE_CLASS;
>>> 363: if (!JLA.hasBeenRedefined(caller.lookupClass())) {
>>> 364: flags |= STRONG_LOADER_LINK;
>>
>> Quick search suggests that `ClassOption.STRONG(STRONG_LOADER_LINK)` is also
>> used in `ObjectMethods.makeEquals/makeHashCode` and in
>> `SwitchBootstraps.generateTypeSwitch`. Are these bootstrap methods also
>> affected?
>
> Looking into those sites as well.
Ok, allowing also obsolete record and type-switch helper classes to unload is
in place.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33921#discussion_r4605051125