lz4 / lz4-java

LZ4 compression for Java
Apache License 2.0
1.09k stars 248 forks source link

Add a module-info.java to enable the use of jlink #185

Open tcfurrer opened 2 years ago

tcfurrer commented 2 years ago

Although #134 took the first step in the direction of providing basic support for JPMS modularity, there is still a problem for modular apps with a dependency on lz4-java. The jlink tool does not allow dependencies upon automatic modules. Although it is possible for these apps to workaround this using jdeps --generate-module-info, it would be nice to eliminate their need for that awkward workaround by simply creating a module-info.java to be included in the released .jar file.