Package jdk.internal.classfile.java.lang.constant become obsolete

Adam Sotona adam.sotona at oracle.com
Wed May 3 07:16:38 UTC 2023


Hi,
Package jdk.internal.java.lang.constant containing ModuleDesc and PackageDesc become obsolete after JDK-8306729<https://bugs.openjdk.org/browse/JDK-8306729> “Add nominal descriptors of modules and packages to Constants API”.

I’ve created JDK-8307326<https://bugs.openjdk.org/browse/JDK-8307326> to handle the transition, with following content:
All references to ModuleDesc and PackageDesc classes in jdk.internal.classfile.java.lang.constant package should be replaced with references to the relevant classes in java.lang.constant package (across all JDK sources, tests and JMH benchmarks).
The package export hooks should be removed from java.base module-info, make files and test headers.
The package should be deleted.

All “in progress” Classfile API and related works and online Javadoc should also follow up with updates after this refactoring.

All comments and suggestions are welcome.

Thanks,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20230503/b7ee70f3/attachment.htm>


More information about the classfile-api-dev mailing list