RFR: 8313983: jmod create --target-platform should replace existing ModuleTarget attribute

Adam Sotona asotona at openjdk.org
Thu Aug 31 12:20:25 UTC 2023


ModuleTarget and ModuleResolution attributes were flagged as 'allow multiple' in the Classfile API.
This patch removed the flags and allows at most one instance of each attribute.

Please review.

Thanks,
Adam

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

Commit messages:
 - 8313983: jmod create --target-platform should replace existing ModuleTarget attribute

Changes: https://git.openjdk.org/jdk/pull/15514/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15514&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8313983
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15514.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15514/head:pull/15514

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


More information about the core-libs-dev mailing list