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

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Out of Date
    • None
    • TBD
    • None
    • None

    Description

      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
      }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: