On Tue, 8 Mar 2022 15:49:46 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
>> We propose to provide a runtime anonymous carrier class object generator; >> java.lang.runtime.Carrier. This generator class is designed to share >> anonymous classes when shapes are similar. For example, if several clients >> require objects containing two integer fields, then Carrier will ensure that >> each client generates carrier objects using the same underlying anonymous >> class. >> >> See JBS for details. > > src/java.base/share/classes/java/lang/runtime/Carrier.java line 432: > >> 430: * Construct a new object carrier class based on shape. >> 431: * >> 432: * @param carrierShape shape of carrier > > Suggestion: > > * @param carrierShape shape of carrier I see all `@param` tags have double space. If that's deliberate that's ok. ------------- PR: https://git.openjdk.java.net/jdk/pull/7744