trie4j
trie4j copied to clipboard
feature request: Support of Java Platform Module System (JPMS)
Java 9 has new feature JPMS that was also known as Project jigsaw. Because trie4j library has no dependency, it can be a leaf of software book of materials, it is valuable to support JPMS for me, at dependeents projects such as mdict4j, stardict4j.
see. https://central.sonatype.com/artifact/com.github.takawitter/trie4j/0.9.8/dependents
You can support JPMS with Multi-Release jar, even when target Java is not 9. see https://nipafx.dev/multi-release-jars-multiple-java-versions/
module-info.java will be simple like follows
module org.trie4j {
requires java.base;
exports org.trie4j;
exports org.trie4j.bv;
exports org.trie4j.doublearray;
exports org.trie4j.io;
exports org.trie4j.louds;
exports org.trie4j.louds.bvtree;
exports org.trie4j.patricia;
exports org.trie4j.tail;
exports org.trie4j.tail.builder;
exports org.trie4j.tail.index;
exports org.trie4j.util;
}
moved to Java11 (next LTS release to Java8, that has the module support) and added module-info.java. https://github.com/takawitter/trie4j/commit/e47f68265eeb32614751dc01fbd03ff872d66cbd