commit-classpath
[Top][All Lists]
Advanced

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

[bug #5615] java.util.prefs.Preferences.defaultFactoryClass invalid


From: nobody
Subject: [bug #5615] java.util.prefs.Preferences.defaultFactoryClass invalid
Date: Thu, 02 Oct 2003 15:49:52 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux; X11; i686; de, address@hidden)

=================== BUG #5615: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5615&group_id=85

Changes by: Michael Koch <address@hidden>
Date: Thu 10/02/2003 at 19:49 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
I commited a fix.



=================== BUG #5615: FULL BUG SNAPSHOT ===================


Submitted by: ajshankar               Project: classpath                    
Submitted on: Mon 09/29/2003 at 08:34
Severity:  5 - Major                  Resolution:  None                     
Assigned to:  None                    Status:  Closed                       
Platform Version:  Red Hat 9.x        

Summary:  java.util.prefs.Preferences.defaultFactoryClass invalid

Original Submission:  There is no such class as MemoryBasedPreferencesFactory 
-- should be "gnu.java.util.prefs.MemoryBasedFactory", perhaps.



Also getFactory needs to be fixed, as it uses Class.forName incorrectly. (You 
still have to instantiate the class.)

should be along the lines of 

Class o = Class.forName(defaultFactoryClass);

try {

  factory = (PreferencesFactory) o.newInstance();

} catch (Exception e) {

... 

}

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

-------------------------------------------------------
Date: Thu 10/02/2003 at 19:49       By: mkoch
I commited a fix.


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Mon 09/29/2003 at 14:57  Name: Preferences.java  Size: 27KB   By: 
ajshankar
A sample fixed version of the file
http://savannah.gnu.org/bugs/download.php?group_id=85&amp;bug_id=5615&amp;bug_file_id=690


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5615&group_id=85

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





reply via email to

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