trie4j icon indicating copy to clipboard operation
trie4j copied to clipboard

Target Java version

Open miurahr opened this issue 2 years ago • 4 comments

Why not update target Java version to Java 8? We know Java 21 is just released in last September, and Java 1.7 has been out of support. Contributors can use Java 8 features such as NIO2 when update.

miurahr avatar Oct 10 '23 03:10 miurahr

Several distributions have LTS versions. For example, Temurin provides Java8 LTS at least Nov 2026. We can still start a new major version, such as 0.10.0, that uses the newest Java if you plan to add some features that depend on that.

takawitter avatar Oct 10 '23 03:10 takawitter

I don't have a plan to add a new feature other than JPMS requested in #46, but just want to rewrite some test code which has a reference to wikipedia data.

miurahr avatar Oct 10 '23 04:10 miurahr

I misunderstood the problem. I updated the Java to 8 and push it to main branch.

takawitter avatar Oct 11 '23 14:10 takawitter

Now we have two active branches.

  • 0.9.x - for 0.9.x versions that target Java7
  • main - for 1.0.x and further versions that target Java8 or newer.

takawitter avatar Oct 14 '23 07:10 takawitter

clarified.

miurahr avatar May 14 '24 08:05 miurahr