RFR: 8306729: Add nominal descriptors of modules and packages to Constants API [v10]
Adam Sotona
asotona at openjdk.org
Wed Apr 26 10:28:02 UTC 2023
On Tue, 25 Apr 2023 21:53:44 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> I wonder if `packageName()` and `packageInternalName()` methods can simply be `name()` and `internalName()` as the type name is `PackageDesc` and `package` prefix seems to be unnecessary. Similarly, `moduleName()` can be `name()`. Have this be discussed and rejected?
I've searched the history of Classfile API discussions and it actually wasn't discussed.
I agree the prefix is unnecessary.
Thanks for pointing it out.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13615#issuecomment-1523166326
More information about the core-libs-dev
mailing list