-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Milestone
Description
Is your feature request related to a problem? Please describe.
Jackson module descriptor implicitly depends on these modules:
requires java.desktop
requires java.logging
requires java.sql
requires java.xml
Can they become optional?
Describe the solution you'd like
Make these modules optional
requires static java.desktop
requires static java.logging
requires static java.sql
requires static java.xml
This may require some code changes, since making module optional means that module may not be present at runtime.
So code should check, if relevant classes are present.
Usage example
jlink and jpackage will produce smaller images. java.sql
itself brings 10MB+ of dependencies, according to this google/gson#1707 (comment)
Metadata
Metadata
Assignees
Labels
No labels