Security.java (loadProviders): Fix bug in how providers are loaded.
2001-10-17 Anthony Green <green@redhat.com> * java/security/Security.java (loadProviders): Fix bug in how providers are loaded. From-SVN: r46319
This commit is contained in:
parent
17ed6335dd
commit
b011ef316b
@ -1,3 +1,8 @@
|
||||
2001-10-17 Anthony Green <green@redhat.com>
|
||||
|
||||
* java/security/Security.java (loadProviders): Fix bug in how
|
||||
providers are loaded.
|
||||
|
||||
2001-10-16 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gcj/javaprims.h: Updated class list.
|
||||
|
@ -76,10 +76,11 @@ public final class Security extends Object
|
||||
String name;
|
||||
StringBuffer pname = new StringBuffer("security.provider.");
|
||||
|
||||
while ((name = secprops.getProperty(pname.append(i).toString())) !=
|
||||
while ((name = secprops.getProperty("security.provider." + i++)) !=
|
||||
null)
|
||||
{
|
||||
Exception exception = null;
|
||||
|
||||
try
|
||||
{
|
||||
providers.addElement(Class.forName(name).newInstance());
|
||||
|
Loading…
Reference in New Issue
Block a user