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

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

Commit messages:
 - 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete

Changes: https://git.openjdk.org/jdk/pull/13979/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13979&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307326
  Stats: 503 lines in 46 files changed: 0 ins; 446 del; 57 mod
  Patch: https://git.openjdk.org/jdk/pull/13979.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13979/head:pull/13979

PR: https://git.openjdk.org/jdk/pull/13979

Reply via email to