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

Infinite cycle in TypeInfoCollector.collectInfo(boolean)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta3
    • 3.3.0.Beta1
    • cdi
    • None

      EXECUTE: Create beans

      public class TestBeanA {
      }
      
      @Named("test")
      public class TestBeanB extends TestBeanA {
      
          public String getId() {
              return "abc";
          }
      }
      

      EXECUTE: Insert into a page EL #

      {test.id}

      EXECUTE: Modify class declaration as 'public class TestBeanA extends TestBeanB' and save.
      ASSERT: Validation does not get stuck.
      FAILURE: Method TypeInfoCollector.collectInfo(boolean) gets stuck in while-cycle.

      Method getSuperclass(IType) checks that class does not extend itself - fix of JBIDE-1642, but that does not help for longer loops.

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

              Created:
              Updated:
              Resolved: