RFR: 8306729: Add nominal descriptors of modules and packages to Constants API [v7]
Adam Sotona
asotona at openjdk.org
Tue Apr 25 19:12:20 UTC 2023
> 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
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
Update ModuleDesc.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13615/files
- new: https://git.openjdk.org/jdk/pull/13615/files/b094cb02..5f9664f8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13615&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13615&range=05-06
Stats: 27 lines in 1 file changed: 1 ins; 21 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/13615.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13615/head:pull/13615
PR: https://git.openjdk.org/jdk/pull/13615
More information about the core-libs-dev
mailing list