Building javadocs with java7 works fine, but if you try and use java8 it fails with the following error: [javadoc] ~/apache-tomcat-8.0.36-src/output/dist/src/java/org/apache/catalina/tribes/group/interceptors/MessageDispatch15Interceptor.java:21: error: bad use of '>' [javadoc] * features. Now the minimum Java version is >=5, those features [javadoc] ^ [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... [javadoc] Generating /builddir/build/BUILD/apache-tomcat-8.0.36-src/output/dist/webapps/docs/api/help-doc.html... [javadoc] 1 error [javadoc] 100 warnings
I accidentally submitted that before I was done... To reproduce the issue, use java8 and execute `ant javadoc`, then observe the failure.
Created attachment 34112 [details] patch proposal This patch resolves the error by using the greater-than HTML entity instead of the '>' character which allows me to build javadocs using java8 successfully.
Patch applied to 8.0.x for 8.0.37 onwards