[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATCH: use equals() in get/removeProvider
From: |
Casey Marshall |
Subject: |
PATCH: use equals() in get/removeProvider |
Date: |
Tue, 04 May 2004 22:46:52 -0700 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) |
I've found that java.security.Security will return or remove a
security provider by name only if the argument is a string constant or
an interned string. This makes interacting with providers
programmatically inconvenient.
Patch is to use `equals()' and not `=='.
--
Casey Marshall || address@hidden
security.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- PATCH: use equals() in get/removeProvider,
Casey Marshall <=