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

KB validators should report problems in order as they appears in the file.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha1
    • 3.3.1.Final
    • cdi, common, jsf
    • None

      1. Create a cdi project.
      2. Create the following bean class:

      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}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}" +
                                   #{string.ss}";
      	}
      
      	@Named
      	@Produces
      	public String string() {
      		return "";
      	}
      }
      

      3. Save the file.
      4. By default JBT will report only 20 problems. But it should be the first 20 problems. Now it's a random. It may be any 20 of all the problem.

      The same problem for JSF and CDI validators.

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: