You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only thing that gives me pause about switching to javax.annotation.processing.Generated is that it's only available since Java 9, while currently Jilt can be used from Java 1.6 onwards.
Is it very inconvenient to add the dependency on javax.annotation:javax.annotation-api:1.3.2? Is it worth it to make Jilt only be usable from Java 9 onwards? I'm mostly worried about dropping support for Java 8, which I know is very popular.
Is the pr I made acceptable? If you're compiling under java 9 (and above) it'll choose the new annotation. Under 9, it'll fall back to the older annotation.
The new j.a.p.Generated annotation has been available since java 9, and should be used instead of the old j.a.Generated annotation.
Under java 17, I see this exception
Currently this can be worked around by adding the
"javax.annotation:javax.annotation-api:1.3.2"
dependency explicitly.The text was updated successfully, but these errors were encountered: