gboersma / uml-java-doclet

Doclet to generate UML diagrams for Javadoc using PlantUML.
74 stars 29 forks source link

Java Doclet 9+ Support #10

Open gboersma opened 4 years ago

gboersma commented 4 years ago

In Java 9, the doclet tool was completely reworked and is not backwards compatible with version 8-.

sjoerdtalsma commented 4 years ago

One tip to save you a lot of time (which it cost me): If you're thinking of using the nice 'multi-release-jar' feature of Java9 for your doclet: it doesn't work.

I intended to provide two Doclet classes in the same jar, but although the javac tool understands this, the javadoc tool does not seem to get it (and tries to load the 'regular' version no matter what).. So multiple doclet jar versions are still required (again, I learned this the hard way)..