Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12592

El is not revalidated in java comments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Alpha1
    • 4.0.0.Alpha1
    • common
    • None

    Description

      1. Create the following class:

      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 "";
      	}
      }
      

      2. The EL is marked as a problem
      3. Ctrl + / on

      String s = "#{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.

      Attachments

        Issue Links

          Activity

            People

              vrubezhny Victor Rubezhny (Inactive)
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: