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

Erroneous error about decorators and delegate types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.Beta1
    • 3.2.0.M1
    • cdi
    • None

      Given a decorator like

      @Decorator
      public abstract class FloodingDecorator implements CodeFragmentManager, Serializable

      { private static final long serialVersionUID = -4615837206290420112L; @Inject @Delegate private CodeFragmentManager codeFragmentManager; }

      JBoss Tools errors, telling me "The delegate type must implement or extend the decorated type Serializable [JSR-299 ยง8.1.3]"

      However, it doesn't have to implement serializable - the delegate type must be one of the decorated types, not all of them

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

                Created:
                Updated:
                Resolved: