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: Thu, 05 Sep 2002 06:11:52 -0400

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

Submitted by: rzschech                  Project: classpath                      
Submitted on: 2002-Sep-05 10:11
Severity:  5 - Major                    Resolution:  None                       
Assigned to:  None                      Status:  Open                           
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



No Followups Have Been Posted




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]