Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1.EDR
    • Component/s: Decorators
    • Labels:
      None

      Description

      If a method is abstract:

      • if it is a method of a decorated type, it has a generated implementation that calls the delegate
      • otherwise, definition error

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            gastaldi George Gastaldi added a comment -

            We should think about it when using Service Handlers

            Show
            gastaldi George Gastaldi added a comment - We should think about it when using Service Handlers
            Hide
            pmuir Pete Muir added a comment -

            Do you want to apply Gavin's change Marius?

            Show
            pmuir Pete Muir added a comment - Do you want to apply Gavin's change Marius?
            Hide
            marius.bogoevici Marius Bogoevici added a comment - - edited

            George, Service Handlers is a different story (with the potential of being complementary if you will). Here we just leave decorator implementors to forgo stuff like

            void decoratedMethod() {
              return delegate.decoratedMethod();
            }
            

            and leave decoratedMethod() unimplemented instead.

            Show
            marius.bogoevici Marius Bogoevici added a comment - - edited George, Service Handlers is a different story (with the potential of being complementary if you will). Here we just leave decorator implementors to forgo stuff like void decoratedMethod() { return delegate.decoratedMethod(); } and leave decoratedMethod() unimplemented instead.
            Show
            marius.bogoevici Marius Bogoevici added a comment - https://github.com/jboss/cdi/pull/26
            Hide
            pmuir Pete Muir added a comment -

            We should hold this one open for 14 days.

            Show
            pmuir Pete Muir added a comment - We should hold this one open for 14 days.

              People

              • Assignee:
                marius.bogoevici Marius Bogoevici
                Reporter:
                pmuir Pete Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development