nilsreiter / CorefAnnotator

Annotation tool for coreference
Apache License 2.0
32 stars 6 forks source link

Explicitly target Java 11 #382

Closed bkis closed 2 years ago

bkis commented 3 years ago

The code already uses methods that were only introduced with Java 11 (e.g. String.isBlank()) and thus depends on Java 11 without it being explicitly set in the Maven configuration. Also, Java 11 (LTS) is already 3 years old. By now it should be okay to draw a line and make the project's setup more explicit about it's target platform.

bkis commented 2 years ago

@nilsreiter Have you tried building and running the app based on this PR on your end? I wouldn't dare to merge this before it's tested to work on at least one other (preferably your) platform.
There were some minor "hiccups" when I ran the build on my machine (Linux), but I'm not sure if those were already known. E.g. the analyzer GUI behaved a bit goofy and threw some exceptions, but I think it's unlikely to be connected to these changes. Also, I didn't try to run with JavaFX, so there's that.