RFR: 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete

Erik Joelsson erikj at openjdk.org
Mon May 15 13:20:47 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

Build changes look ok.

-------------

Marked as reviewed by erikj (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13979#pullrequestreview-1426543240



More information about the security-dev mailing list