eclipse-aspectj / eclipse.jdt.core

Aspectj JDT Core
Eclipse Public License 2.0
17 stars 6 forks source link

Include JFace classes in order to fix javadoc generation in AspectJ #12

Closed kriegaex closed 3 years ago

kriegaex commented 3 years ago

When e.g. generating javadocs for AspectJ Tools, the missing JFace classes make JDK 9+ javadoc generators exit without generating any documentation. In JDK 8, the generator would simply continue despite reporting errors, but this was changed for JDK 9, because it can lead to inconsistent results.

Honestly, the missing classes were half a bug anyway, because they are being referenced by other classes in the package. We are just lucky that AJC does not seem to ever call classes or trigger the classloader to load classes needing any JFace stuff.