Integrated: 8306729: Add nominal descriptors of modules and packages to Constants API
Adam Sotona
asotona at openjdk.org
Wed May 3 06:38:29 UTC 2023
On Mon, 24 Apr 2023 11:59:03 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> Constants API already provides models for all loadable constants to help programs manipulating class files and modelling bytecode instructions. However no models of module and package constants are provided by Constants API. Every program manipulating class files must implement own models and validation of modules and packages constants.
>
> This pul request adds `java.lang.constant.ModuleDesc` and `java.lang.constant.PackageDesc` to the Constants API.
>
> Classfile API will follow up and remove its internal implementations of `PackageDesc` and `ModuleDesc`.
>
> Please review this pull request and attached CSR.
>
> Thank you,
> Adam
This pull request has now been integrated.
Changeset: c8f37564
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c8f37564bf0983f449195434378479e1adfc1466
Stats: 467 lines in 8 files changed: 467 ins; 0 del; 0 mod
8306729: Add nominal descriptors of modules and packages to Constants API
Reviewed-by: mchung
-------------
PR: https://git.openjdk.org/jdk/pull/13615
More information about the core-libs-dev
mailing list