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: Michael Koch
Subject: [bugs #9137] Security.removeProvider and Security.getProvider requires interned names
Date: Fri, 28 May 2004 06:34:55 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Galeon/1.3.14 (Debian package 1.3.14a-1)

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

/**************************************************************************/
[bugs #9137] Latest Modifications:

Changes by: 
                Michael Koch <address@hidden>
'Date: 
                Fri 05/28/04 at 10:34 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in latest CVS with the following changelog entry. It will be included in 
the 0.10 release.

2004-05-28  Michael Koch  <address@hidden>

        * java/security/Security.java
        (insertProviderAt): Use equals() instead of ==.
        (removeProvicer): Likewise.
        (getProvider): Likewise.






/**************************************************************************/
[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/04 at 03:04

Severity:  3 - Ordinary
Resolution:  Fixed
Assigned to:  None
Status:  Closed
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.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 05/28/04 at 10:34         By: mkoch
Fixed in latest CVS with the following changelog entry. It will be included in 
the 0.10 release.

2004-05-28  Michael Koch  <address@hidden>

        * java/security/Security.java
        (insertProviderAt): Use equals() instead of ==.
        (removeProvicer): Likewise.
        (getProvider): Likewise.












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]