Name: ooR10001 Date: 09/12/2000
The javadoc does not explicitly specify behavior of
ServiceManager.lookup(String) method in case of null parameter.
According to the existing javadoc, NullPointerException or
UnavailableServiceException are both acceptable to be thrown if the method was
called with null parameter. Please specify explicitly in order to develop
correct JCK tests.
javadoc says:
-----------------------------
lookup
public static java.lang.Object lookup(java.lang.String name)
throws UnavailableServiceException
Asks the JNLP Client for a service with a given name.
The lookup must be idempotent, that is return
the same object for each invocation with the same name.
Parameters:
name - Name of service to lookup.
Returns:
An object implementing the service. null will never be returned.
Instead an exception will be
thrown.
Throws:
UnavailableServiceException - if the service is not available.
----------------------------------------------------------------------------
======================================================================