[jboss-jira] [JBoss JIRA] (LOGTOOL-105) Option to have LoggingToolsProcessor to not use javax.annotation.Generated
James Perkins (JIRA)
issues at jboss.org
Thu Apr 20 17:43:00 EDT 2017
[ https://issues.jboss.org/browse/LOGTOOL-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins updated LOGTOOL-105:
----------------------------------
Release Notes Text:
There will be an attempt to determine which {{@Generated}} annotation to use. First the {{javax.annotation.Generated}} is tried and if unsuccessful the {{javax.annotation.processing.Generated}} is tried. If neither work no annation will be added to the generated source.
You can also specify {{-AaddGeneratedAnnotation=false}} to not add annotations to the generated source at all.
> Option to have LoggingToolsProcessor to not use javax.annotation.Generated
> --------------------------------------------------------------------------
>
> Key: LOGTOOL-105
> URL: https://issues.jboss.org/browse/LOGTOOL-105
> Project: Log Tool
> Issue Type: Feature Request
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 2.1.0.Alpha2
>
>
> To allow projects using the JBoss Logging annotation processor to test latest Java 9 Jigsaw builds, we need to be able to workaround issue
> https://bugs.openjdk.java.net/browse/JDK-8152842
> I'm introducing an annotation processor option which will cause the generated source code to "forget" to mark the generated code with {{javax.annotation.Generated}}.
> --{{AskipGeneratedAnnotation=true}}-- {{-AaddGeneratedAnnotation=false}}
> The JMH annotation processor followed a similar path:
> https://bugs.openjdk.java.net/browse/CODETOOLS-7901643
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list