See also #941.
One unit test fails when the test suite is run with Java 11. This is apparently a problem in SUTime. It gets a different answer in Java 8 than in Java 11, not finding "annual" in the later. This seems to be dependent also on the version of SUTime.
| "annual" |
v3.9.2 |
v4.2.0 |
| Java 8 |
✓ |
✓ |
| Java 11 |
🗙 |
✓ |
So, I am OK with sticking with the Java version check in build.sbt for now. If we want to enable Java 11, then we should probably try to update to a newer version of StanfordNLP if that is possible.
See also #941.
One unit test fails when the test suite is run with Java 11. This is apparently a problem in SUTime. It gets a different answer in Java 8 than in Java 11, not finding "annual" in the later. This seems to be dependent also on the version of SUTime.
So, I am OK with sticking with the Java version check in
build.sbtfor now. If we want to enable Java 11, then we should probably try to update to a newer version of StanfordNLP if that is possible.