Bug 1399 - Support Java 11+
Summary: Support Java 11+
Status: RESOLVED FIXED
Alias: None
Product: Ardor3D
Classification: General
Component: core (show other bugs)
Version: 1.0.0
Hardware: All all
: P4 normal
Assignee: Julien Gouesse
URL:
Depends on:
Blocks: 1400
  Show dependency treegraph
 
Reported: 2019-11-19 21:46 CET by Julien Gouesse
Modified: 2021-09-05 22:55 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Gouesse 2019-11-19 21:46:06 CET
Building the engine with Java 11 is currently possible but it's still built with Java 8 because of a bug in Maven Javadoc plugin:
https://issues.apache.org/jira/browse/MJAVADOC-620

The very first objective consists in ensuring that the engine builds with Java >= 11 without warnings.

The second objective consists in switching to Java 11 as minimal supported version of Java and in using it to build the binaries from now on.

The third objective consists in creating modules from all projects.
Comment 1 Julien Gouesse 2019-11-29 20:15:01 CET
The bug 620 of maven-javadoc-plugin was fixed, I worked around the bug 583 of maven-javadoc-plugin.

I've just successfully built the Java documentation with Java 11 and maven-javadoc-plugin 3.2.0-SNAPSHOT. When the version 3.2.0 is out, I'll be able to build the whole engine with Java 11 and to commit my few changes.
Comment 2 Julien Gouesse 2020-04-05 12:44:27 CEST
maven-javadoc-plugin 3.2.0 was released in March, I can use it now and it works:
https://jogamp.org/cgit/ardor3d.git/commit/?id=0180645067ad49604b9ce7055f428a1d1a53a921
Comment 3 Julien Gouesse 2020-05-11 23:18:51 CEST
I built the engine without any problem yesterday with Java 14.
Comment 4 Julien Gouesse 2021-09-05 22:55:07 CEST
The engine can be built with Java 14. Using Java >= 16 requires to use -DforkCount=0 because of EasyMock depending on cglib which doesn't fully support Java >= 16 yet.