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

Dialog 'Show All Assignable Beans' does not take into account unsaved changes in current file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha2
    • 4.0.0.Alpha1
    • cdi
    • None

      EXECUTE: Create a bean with an injection point and producers of beans assignable to it.

      public class A {
      	
      	@Inject @Named("nobean") String a1;		
      
      	static @Produces @Named("nobean") String s1;
      	static @Produces @Named("nobean") String s2;
      }
      

      EXECUTE: Replace text 's2' by 's3', do not save.
      EXECUTE: Open dialog 'Show All Assignable Beans'.
      ASSERT: List of assignable beans includes A.s3, not A.s2.

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

              Created:
              Updated:
              Resolved: