[
https://issues.jboss.org/browse/JBIDE-12592?page=com.atlassian.jira.plugi...
]
Alexey Kazakov updated JBIDE-12592:
-----------------------------------
Description:
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}";
}
@Named
@Produces
public String string() {
return "";
}
}
{code}
2. The EL is marked as a problem
3. Ctrl + / on {code}s1 = "#{string.ss}";{code} Don't save the file.
4. FAILURE: There is still a validation problem on the EL.
5. Save the file. The problem in the comment is gone.
was:
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}";
}
@Named
@Produces
public String string() {
return "";
}
}
{code}
2. The EL is marked as a problem
3. Ctrl + / on s1 = "#{string.ss}"; Don't save the file.
4. FAILURE: There is still a validation problem on the EL.
5. Save the file. The problem in the comment is gone.
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}";
}
@Named
@Produces
public String string() {
return "";
}
}
{code}
2. The EL is marked as a problem
3. Ctrl + / on {code}s1 = "#{string.ss}";{code} Don't save the file.
4. FAILURE: There is still a validation problem on the 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