commit-classpath
[Top][All Lists]
Advanced

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

[patch #1820] [Patch #1820] java.security.Security.providers() loops ...


From: noreply
Subject: [patch #1820] [Patch #1820] java.security.Security.providers() loops ...
Date: Thu, 14 Aug 2003 11:16:10 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/2.2.2-3; Linux)

Patch #1820 has been updated. 

Project: 
Category: None
Status: Open
Summary: java.security.Security.providers() loops ...

Follow-Ups:

Date: Fri 08/15/2003 at 01:16
By: crawley

Comment:
This patch fixes an infinite loop in the lazy provider
initialisation code in java.security.Security.  The 
'providers' method calls 'loadProviders' (line 87 or 87), 
which then calls 'provides' (line 138) ... and so on.

The problem occurs in the following Mauve testcase:

  gnu.testlet.java.security.Security.provider

and also causes object serialisation and other testcases
to fail.

[This is a minimal patch to fix the problem.  If it was
my code, I'd also fix the indentation and the poor choice 
of variable names; e.g. 'providers_lazy*'.]


2003-08-xx  Stephen Crawley <address@hidden>
        * java.security.Security (providers) : fix infinite loop in 
initialisation

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1820&group_id=85

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





reply via email to

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