-
Bug
-
Resolution: Fixed
-
P4
-
6
-
None
-
beta
-
generic
-
generic
Provider.putService(Service s) should include a check like
if (s.getProvider() != this) {
throw new IllegalArgumentException("Service must be associated with this provider object");
}
Registering a service from another provider is not sensible and should be disallowed.
if (s.getProvider() != this) {
throw new IllegalArgumentException("Service must be associated with this provider object");
}
Registering a service from another provider is not sensible and should be disallowed.