On Fri, 11 Mar 2022 10:58:23 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
>> Jim Laskey has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Leave public for the time being > > src/java.base/share/classes/java/lang/runtime/Carrier.java line 48: > >> 46: >> 47: /** >> 48: * This class is used to create anonymous objects that have number and >> types of > > This is a bit ambiguous: anonymous "objects that have number and types of > objects determined at runtime" almost seems like the clients have no control. > I think what you want to say is that the shape is given by the client (e.g. > how many longs, int, objects) - but the underlying implementation can vary. > Maybe something like: > > > A <em>carrier</em> is an anonymous objects that can store component values. > Valid component value types are [...]. Clients can create new carrier > instances by describing a carrier <em>shape</em>, that is, a MethodType whose > parameter types describe the types of the carrier component values. Changed ------------- PR: https://git.openjdk.java.net/jdk/pull/7744