Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-362

No-interface view EJB proxying rules are less strict than CDI, leading to odd error reporting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • TBD
    • None
    • None
    • None

      E.g.

      // allowed by EJB
      // disallowed by CDI
      @Stateful @RequestScoped
      public class MyBean {
      final void m() { };
      }

      public class Other {
      @EJB MyBean field; // PASS
      @Inject MyBean field; // FAIL - unproxyable
      }

              Unassigned Unassigned
              pmuiratbleepbleep Pete Muir (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: