RFR: 8306729: Add nominal descriptors of modules and packages to Constants API [v2]
Adam Sotona
asotona at openjdk.org
Mon Apr 24 13:18:14 UTC 2023
On Mon, 24 Apr 2023 12:28:37 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>>
>> added links to JVMS and utility methods moved to ConstantUtils
>
> src/java.base/share/classes/java/lang/constant/PackageDesc.java line 34:
>
>> 32: * <p>To create a {@linkplain PackageDesc} for a package, use {@link #of} or
>> 33: * {@link #ofInternalName(String)}.
>> 34: *
>
> Needs a link to jvms 4.4.12. Same for ModuleDesc (4.4.11)
fixed, thanks.
> src/java.base/share/classes/java/lang/constant/PackageDescImpl.java line 37:
>
>> 35: * @throws IllegalArgumentException if the package name is invalid
>> 36: */
>> 37: public static String validateBinaryPackageName(String name) {
>
> All these utility methods should be moved to ConstantUtils.
fixed, thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13615#discussion_r1175262182
PR Review Comment: https://git.openjdk.org/jdk/pull/13615#discussion_r1175265741
More information about the core-libs-dev
mailing list