commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9137] Security.removeProvider and Security.getProvider requires i


From: Casey Marshall
Subject: [bugs #9137] Security.removeProvider and Security.getProvider requires interned names
Date: Thu, 27 May 2004 23:15:57 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5; No time for love, Dr. Jones) Gecko/20030715

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #9137] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9137>
Project: classpath
Submitted by: Casey Marshall
On: Fri 05/28/2004 at 03:04

Severity:  3 - Ordinary
Resolution:  None
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  Security.removeProvider and Security.getProvider requires interned 
names

Original Submission:  The removeProvider and getProvider methods of 
java.security.Security only work when the parameter (a string, which is the 
name of that provider) is a string constant or an interned string, because it 
uses `==' instead of String.equals when comparing provider names.

This is contrary to the behavior in Sun's 1.4.2 JRE and IBM's 1.4.1 JRE, and 
makes dynamic usage of these methods inconvenient.











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9137>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]