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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: TBD
    • Component/s: None
    • Labels:
      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            pmuir Pete Muir
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: