3 Replies Latest reply on Jul 13, 2006 3:44 PM by wolfc

    javax.ejb.SessionContext vs specs

    wolfc

      I saw a couple of discrepancies between javax.ejb.SessionContext in CVS and in the EJB3 specs:

      public Object getBusinessObject(Class businessInterface) throws IllegalStateException;

      should be:
      <T> T getBusinessObject(Class<T> businessInterface) throws IllegalStateException;


      and

      public Object getInvokedBusinessInterface() throws IllegalStateException;

      should be:
      Class getInvokedBusinessInterface() throws IllegalStateException;


      The second is relatively easy to fix, but the first one requires the 1.5 compiler.

      Shall I raise one or two issues in JIRA?