RFR: 8264124: Update MXBean specification and implementation to extend mapping of CompositeType to records [v2]
Daniel Fuchs
dfuchs at openjdk.java.net
Fri Mar 26 15:15:49 UTC 2021
On Fri, 26 Mar 2021 14:45:05 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fixed typo. Moved example with record after example with from method to respect the logical order of precedence.
>
> src/java.management/share/classes/javax/management/MXBean.java line 792:
>
>> 790: accessor for a record component {@code name} of type <em>T</em>,
>> 791: then the item in the {@code CompositeType} has the same name
>> 792: than the record component, and has type <em>opentype(T)</em>.</p>
>
> The update to the MXBean spec looks good. Do you have a typo here, I assume it should say "as the record component".
Right, thanks. Qualifying it as "a typo" was too kind ;-)
I have updated the PR. I also moved the `record` example after the `from` example to respect the order of precedence.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3201
More information about the serviceability-dev
mailing list