RFR: 8343437: ClassDesc.of incorrectly permitting empty names
Chen Liang
liach at openjdk.org
Fri Nov 1 18:28:27 UTC 2024
On Fri, 1 Nov 2024 17:36:01 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> With your proposed change, all validations are done by `validateBinaryClassName`?
Yes. Now all validations are done by that and `validateInternalClassName`, which uses the `/` separator instead of the `.` separator char. Meanwhile, the package name validation delegates to those two, and additionally permits the unnamed package represented by an empty string.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21830#issuecomment-2452370608
More information about the core-libs-dev
mailing list