[jboss-jira] [JBoss JIRA] (LOGTOOL-85) Suppress all warnings in generated sources
David Lloyd (JIRA)
issues at jboss.org
Thu Aug 28 09:59:02 EDT 2014
[ https://issues.jboss.org/browse/LOGTOOL-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996512#comment-12996512 ]
David Lloyd commented on LOGTOOL-85:
------------------------------------
I'd rather not do this. The warnings may indicate real bugs. The processor should be cloning generic types, avoiding this type of warnings at least.
> Suppress all warnings in generated sources
> ------------------------------------------
>
> Key: LOGTOOL-85
> URL: https://issues.jboss.org/browse/LOGTOOL-85
> Project: Log Tool
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Affects Versions: 1.2.0.Final
> Reporter: Vlad Arkhipov
> Assignee: James Perkins
>
> Generated logger/messages implementaions may cause the compiler to emit warnings (for example, if your interface method has generic parameters). It will be a problem if you compile with -Xlint:all -Werror flags.
> I suppose there is no real reason to make the processor honour generics, and these warnings can be safely ignored?
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list