]> source.dussan.org Git - aspectj.git/commit
Fix javadoc generation broken on JDK 20
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 29 Mar 2023 10:49:22 +0000 (12:49 +0200)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 24 Jun 2023 06:10:46 +0000 (13:10 +0700)
commita45705fdb8dda6cb76ba15e7b4adfb81ebff70cc
tree5b634364e61803c22a231eee53dfe55b6cb8ab38
parentba520d6cfab3b968bd020d1e965e18aa72819813
Fix javadoc generation broken on JDK 20

Firstly, Javadoc 20 cannot handle source level 1.7 anymore, so I bumped
it to 11, which hopefully will be around for another while. It also
matches the ajc minimum of Java 11, i.e. ajdoc and ajc are synchronised
in this regard now.

Secondly, as of JDK 20, the javadoc tool renders HTML pages with section
headers specific to the JVM default locale. The workaround is to set the
locale to English before calling javadoc.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java
ajdoc/src/test/java/org/aspectj/tools/ajdoc/AJDocConstants.java
ajdoc/src/test/java/org/aspectj/tools/ajdoc/AjdocTestCase.java