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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • 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 }

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated: