[jbosstools-issues] [JBoss JIRA] (JBIDE-12436) False validation problem for elements annotated @SuppressWarnings
Victor Rubezhny (JIRA)
jira-events at lists.jboss.org
Fri Aug 17 13:12:15 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712263#comment-12712263 ]
Victor Rubezhny edited comment on JBIDE-12436 at 8/17/12 1:11 PM:
------------------------------------------------------------------
Issue is fixed.
was (Author: vrubezhny):
This problem goes from the Validator constantly (regardless of what we type in attribute of @SuppressWarnings annotation).
Don't understand what can I do here. It seams that this is a bug in Validator.
> False validation problem for elements annotated @SuppressWarnings
> -----------------------------------------------------------------
>
> Key: JBIDE-12436
> URL: https://issues.jboss.org/browse/JBIDE-12436
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 3.4.0.M1
> Reporter: Alexey Kazakov
> Assignee: Victor Rubezhny
> Fix For: 3.4.0.M1
>
>
> 1. Create a cdi project.
> 2. Create the following class:
> {code}
> public class TestNamed {
> @SuppressWarnings("cdi-ambiguous-dependency")
> @Inject String s; // Ambiguous
> @Produces
> public String foo1;
> @Produces
> public String foo2;
> }
> {code}
> 3. Change "cdi-ambiguous-dependency" to "xyz"
> 4. There is a warning on @Inject
> 5. Change "xyz" to "cdi-ambiguous-dependency" back (don't save the file!)
> 6. There is still the same warning on @Inject. This is a bug.
> 7. Edit @Inject String s -> @Inject String ss
> 8. There is no warning any more on @Inject
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list