[lworld] RFR: 8337547: Add LoadableDescriptors to comments for class loading

Coleen Phillimore coleenp at openjdk.org
Wed Sep 17 20:26:39 UTC 2025


On Wed, 17 Sep 2025 20:21:01 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> "field type" is not sufficient either, because the LoadableDescriptors attribute is also used to speculative pre-load argument types.
>> Any thought on a better name ?
>
> Thank you - I very much want this comment to be accurate.
> Maybe we don't need to say "LoadableDescriptors" here since that's the mechanism.

Suggestion:

    // Must check ClassCircularity before resolving next_name (superclass, interface, field types or speculatively preloaded argument types).

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1594#discussion_r2356685594


More information about the valhalla-dev mailing list