coner-tech / coner-core

DEPRECATED A REST API for autocross event operations
GNU Affero General Public License v3.0
7 stars 3 forks source link

Support Java 11 #204

Open carltonwhitehead opened 6 years ago

carltonwhitehead commented 6 years ago

Building on Java 9 currently produces a MapStruct error. MapStruct released a new version adding Java 9 compatibility in October 2017, and we are on an earlier version.

Dropwizard has a release candidate mentioning Java 9 support.

There could be a host of other issues waiting for us as well after the above things are taken care of. It would be good to start documenting those here. This ticket may be closed when this project can build, pass its tests, and run on Java 9 with no apparent regressions.

This would be a good task for a new contributor to start, and it would be a big help to the project.

carltonwhitehead commented 6 years ago

Not going to bother with supporting Java 9 since it is already EOL and 10 is not far behind. Changing ticket to support Java 11, since it is an LTS version supported through 2023 according to http://www.oracle.com/technetwork/java/eol-135779.html

carltonwhitehead commented 5 years ago

I installed an Oracle OpenJDK 11 build locally and tried to run the tests. Looks like the use of Lombok in some of the models is a blocker. Very minor usage of the AllArgsConstructor, NoArgsConstructor and Builder annotations.

I'm currently seeing this as a great excuse to rewrite those few models and the locations where they're called in Kotlin in order to remove the Lombok dependency.