[jboss-jira] [JBoss JIRA] Resolved: (JBEE-4) javax.ejb.EJBContext.lookup javadoc is wrong

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Mon Oct 27 14:11:21 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBEE-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shelly McGowan resolved JBEE-4.
-------------------------------

    Resolution: Done


Signature tests passing:
********************************************************************************
Completed running 5 tests.
Number of Tests Passed      = 5
Number of Tests Failed      = 0
Number of Tests with Errors = 0
********************************************************************************
PASSED........com.sun.ts.tests.signaturetest.javaee.JavaEESigTest.signatureTest_from_appclient
PASSED........com.sun.ts.tests.signaturetest.javaee.JavaEESigTest.signatureTest_from_ejb
PASSED........com.sun.ts.tests.signaturetest.javaee.JavaEESigTest.signatureTest_from_jsp
PASSED........com.sun.ts.tests.signaturetest.javaee.JavaEESigTest.signatureTest_from_servlet
PASSED........com.sun.ts.tests.signaturetest.javaee.JavaEESigTest.signatureTest_from_standalone
Oct 27, 2008 2:01:11 PM Finished executing all tests, wait for cleanup...
Oct 27, 2008 2:01:11 PM Harness done with cleanup from test run.
Test results: passed: 5


EJB 3.0.0.GA JavaDoc:
lookup

Object lookup(String name)
              throws IllegalArgumentException

    Lookup a resource within the component's private naming context.

    Parameters:
        name - - Name of the entry (relative to java:comp/env). 
    Throws:
        IllegalArgumentException - - The Container throws the exception if the given name does not match an entry within the component's environment.





> javax.ejb.EJBContext.lookup javadoc is wrong
> --------------------------------------------
>
>                 Key: JBEE-4
>                 URL: https://jira.jboss.org/jira/browse/JBEE-4
>             Project: JBoss JavaEE APIs
>          Issue Type: Task
>          Components: EJB API
>            Reporter: Carlo de Wolf
>            Assignee: Shelly McGowan
>             Fix For: 3.0.0.GA-ejb-api
>
>
> Javadoc for EJBContext.lookup is wrong.
> Method should throw IllegalArgumentException if nothing is found, not return null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list