Skip to content

Add full Java module descriptors #3871

Open
@aalmiray

Description

@aalmiray

Describe the feature

I'd be great if AWS Java SDK supplied full Java module descriptors.

Use Case

This will help modular projects that consume the SDK, specifically those that create custom Java Runtimes with jlink, as the latter does not support automatic modules but explicit modules.

Proposed Solution

It's possible to keep bytecode baseline compatible with Java 8 while providing a full module descriptor thanks to ModiTect.

Other Information

I've checked all artifacts defined by the BOM using https://github.com/kordamp/jarviz/ to see if there are any split packages. There are none! 🎉

Most artifacts have an explicit automatic module name via the Automatic-Module-Name manifest attribute, with the following artifacts missing such attribute:

  • codegen-lite-maven-plugin-2.20.35.jar
  • appsync-2.20.35.jar
  • cloudwatch-metric-publisher-2.20.35.jar

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.20.35

JDK version used

openjdk version "11.0.17" 2022-10-18 LTS OpenJDK Runtime Environment Zulu11.60+19-CA (build 11.0.17+8-LTS) OpenJDK 64-Bit Server VM Zulu11.60+19-CA (build 11.0.17+8-LTS, mixed mode)

Operating System and version

Darwin 20.6.0 Darwin Kernel Version 20.6.0: Tue Feb 22 21:10:41 PST 2022; root:xnu-7195.141.26~1/RELEASE_X86_64 x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions