RFR: 8342469: Improve API documentation for java.lang.classfile.instruction [v4]
Adam Sotona
asotona at openjdk.org
Thu Nov 21 11:21:17 UTC 2024
On Wed, 20 Nov 2024 23:03:43 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Improve the documentation for classfile instructions. Includes links to all opcodes, usage notes for instructions, and other various fixes.
>>
>> API Diff: https://cr.openjdk.org/~liach/apidiff/cf-instr/java.base/module-summary.html
>> Javadoc: https://cr.openjdk.org/~liach/javadoc/cf-instr/java.base/java/lang/classfile/instruction/package-summary.html
>>
>> Please review the associated CSR as well.
>
> Chen Liang has updated the pull request incrementally with four additional commits since the last revision:
>
> - typo
> - More cleanup
> - Remove a few confusions around bad modeling, some missing exceptions, also the labelless info models
> - Non-int constant values
It looks better to me now, much easier to understand.
@jddarcy what do you think about general formulations "Xy instruction can be viewed as a record..." describing code elements exposed as sealed interfaces in the API?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21625#issuecomment-2490844359
More information about the core-libs-dev
mailing list