RFR: 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete
Chen Liang
liach at openjdk.org
Tue May 16 18:20:45 UTC 2023
On Mon, 15 May 2023 08:38:54 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> Package `jdk.internal.classfile.java.lang.constant` containing `ModuleDesc` and `PackageDesc` become obsolete after [JDK-8306729](https://bugs.openjdk.org/browse/JDK-8306729).
> All references to `jdk.internal.classfile.java.lang.constant.ModuleDesc` and `jdk.internal.classfile.java.lang.constant.PackageDesc` across all JDK sources, tests and JMH benchmarks are replaced with `java.lang.constant.ModuleDesc` and `java.lang.constant.PackageDesc`.
> `jdk.internal.classfile.java.lang.constant` package export hooks are removed from java.base module-info, make files and test headers.
> Content of `jdk.internal.classfile.java.lang.constant` package and related tests under `jdk.classfile` are deleted.
> Method references renamed in [JDK-8306729](https://bugs.openjdk.org/browse/JDK-8306729) are fixed:
> - `PackageDesc::packageName` to `PackageDesc::name`
> - `PackageDesc::packageInternalName` to `PackageDesc::internalName`
> - `ModuleDesc::moduleName` to `ModuleDesc::name`.
>
> Please review this pull request.
>
> Thanks,
> Adam
I think these are all the occurrences of jdk.internal.classfile.java.lang.constant package.
-------------
Marked as reviewed by liach (Author).
PR Review: https://git.openjdk.org/jdk/pull/13979#pullrequestreview-1429153817
More information about the security-dev
mailing list