-
Notifications
You must be signed in to change notification settings - Fork 948
Add module system support #483
Copy link
Copy link
Closed
Labels
feature requestA feature has been asked for or suggested by the communityA feature has been asked for or suggested by the community
Description
Describe the problem you'd like to have solved
I'm writing desktop application and i want module system support for this library, so i can have smaller runtime
Describe the ideal solution
Since Java 8 is the minimum java version, we could:
- Compile everything with Java 11 compiler with
--release 8, so we will have Java 8 version classes - Add module-info file compiled with
--release 9
Classes with dash are ignored by VM, so Java 8 VM will be able to load jar withmodule-info.class
Alternatives and current work-arounds
Use automatic module name, it won't give any benefit of module system, we will just claim module name
Additional information, if any
Module name components can't end with digits and this library package is com.auth0.jwt, not sure how to deal with that 0, compiler warns about it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestA feature has been asked for or suggested by the communityA feature has been asked for or suggested by the community