[jbosstools-issues] [JBoss JIRA] (JBIDE-12592) El is not revalidated in java comments
Victor Rubezhny (JIRA)
jira-events at lists.jboss.org
Wed Dec 5 10:38:21 EST 2012
[ https://issues.jboss.org/browse/JBIDE-12592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Rubezhny reassigned JBIDE-12592:
---------------------------------------
Assignee: Alexey Kazakov (was: Victor Rubezhny)
Issue is fixed. JUnit Test Case is added due to verify the issue.
> El is not revalidated in java comments
> --------------------------------------
>
> Key: JBIDE-12592
> URL: https://issues.jboss.org/browse/JBIDE-12592
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 4.0.0.Alpha1
> Environment: Juno
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 4.1.0.Alpha1
>
>
> 1. Create the following class:
> {code}
> package test;
> import javax.enterprise.inject.Produces;
> import javax.inject.Named;
> public class Bean_Broken {
> public void foo() {
> String s = "#{string.ss}";
> String s2 = "#{string.ss}";
> }
> @Named
> @Produces
> public String string() {
> return "";
> }
> }
> {code}
> 2. Both ELs are marked as a problem
> 3. Ctrl + / on s2 = "#{string.ss}"; Don't save the file.
> 4. FAILURE: There is still the validation problem on the second EL.
> 5. Save the file. The problem in the comment is gone.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list