commit-classpath
[Top][All Lists]
Advanced

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

[Bug #1132] classpath/gnu/java/util/prefs/NodeReader.java


From: nobody
Subject: [Bug #1132] classpath/gnu/java/util/prefs/NodeReader.java
Date: Tue, 10 Sep 2002 16:10:51 -0400

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

Changes by: Mark Wielaard <address@hidden>
Date: 2002-Sep-10 22:10 (Europe/Amsterdam)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | mark
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Thanks. I fixed this in CVS.
Note that the NodeReader uses a quick and dirty poor mans XML reader which most 
likely not works correctly on complex files.

Although I wrote the java.util.prefs package I never actually used it 
extensively. Do you use it? Is it useable (besides this bug)?

Thanks,

Mark



=================== BUG #1132: FULL BUG SNAPSHOT ===================


Submitted by: rzschech                  Project: classpath                      
Submitted on: 2002-Sep-05 12:11
Severity:  5 - Major                    Resolution:  Fixed                      
Assigned to:  mark                      Status:  Closed                         
Platform Version:  None                 

Summary:  classpath/gnu/java/util/prefs/NodeReader.java

Original Submission:  The preference importing code dosent support importing 
"system" roots. The following code is the problem:

if ("user".equals(type)) {
  root = factory.userRoot();
}
else if ("user".equals(type)) {
  root = factory.systemRoot();
}
else {
  throw new InvalidPreferencesFormatException("Unknown type: " + type);
}

The "else if" should be:

else if("system".equals(type))

>From Richard

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

-------------------------------------------------------
Date: 2002-Sep-10 22:10             By: mark
Thanks. I fixed this in CVS.
Note that the NodeReader uses a quick and dirty poor mans XML reader which most 
likely not works correctly on complex files.

Although I wrote the java.util.prefs package I never actually used it 
extensively. Do you use it? Is it useable (besides this bug)?

Thanks,

Mark




No files currently attached


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




reply via email to

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