Bug 202785 - [classpath] Frysk - if user data is defined in $HOME/.frysk - debug messages are displayed when GUI is started
Summary: [classpath] Frysk - if user data is defined in $HOME/.frysk - debug messages ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gcc
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jakub Jelinek
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-16 14:03 UTC by Len DiMaggio
Modified: 2007-11-30 22:07 UTC (History)
4 users (show)

Fixed In Version: 4.1.1-24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-27 05:58:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Len DiMaggio 2006-08-16 14:03:43 UTC
Description of problem:
Frysk - if user data is defined in $HOME/.frysk - debug messages are displayed
when GUI is started

Version-Release number of selected component (if applicable):
RHEL5-Server-20060806.1

How reproducible:
100%

Steps to Reproduce:
1. Run the Frysk GUI, create a session, save it, exit Frysk
2. Re-enter Frysk GUI
  
Actual results:

[root@rocco frysk]# frysk
Found subnode: /theManager
Found subnode: /theManager/logWindow
Found subnode: /theManager/mainWindow
Key: size.width Value: 640
Key: size.height Value: 480
Key: position.y Value: 272
Key: position.x Value: 320
Found subnode: /theManager/mainWindow/allProcWidget
Key: vPane.position Value: 200

Expected results:
Debug messages should not be displayed

Additional info:

Comment 1 Phil Muldoon 2006-08-16 14:10:25 UTC
Those are not debug messages, but rather output from
java.utils.prefs.Preferences when a preference file is read and parsed. There
appears to be no way to turn these off (they are not output by Frysk), when I
looked at the issue before.

Comment 2 Andrew Cagney 2006-08-16 14:24:23 UTC
Something to do with a logger?

Long term, frysk should use gconf to pick up its configuration information
making it compatible with the rest of gnome.


Comment 3 Phil Muldoon 2006-08-16 14:27:38 UTC
#2

Nothing to do with the logger. It just console spam that comes from running
preferences. I''ll ask the classpath people to see if we can block it short term
somehow.

And fully agreed on migration to gconf. (the gnome way of doing preferences over
the java way of doing preferences)

Comment 4 Mark Wielaard 2006-08-18 15:33:59 UTC
Bug in classpath/libgcj. It had some System.out.println() debug statements left
in the source of NodeReader:

diff -u -r1.5 NodeReader.java
--- gnu/java/util/prefs/NodeReader.java 2 Jul 2005 20:32:15 -0000       1.5
+++ gnu/java/util/prefs/NodeReader.java 18 Aug 2006 15:41:53 -0000
@@ -124,7 +124,6 @@
             skipTill("name=\"");
             String name = readTill("\"");
             Preferences subnode = node.node(name);
-            System.out.println("Found subnode: " + subnode.absolutePath());
             readMap(subnode);
             readNodes(subnode);
             skipTill("</node>");
@@ -160,7 +159,6 @@
             String key = readTill("\"");
             skipTill("value=\"");
             String value = readTill("\"");
-            System.out.println("Key: " + key + " Value: " + value);
             node.put(key, value);
         }
     }

BTW. Since 0.92 the default util.pref backend for classpath is based on GConf2.

Comment 5 Mark Wielaard 2006-09-18 15:50:15 UTC
Patch in comment #4 has been included in the libgcj in fc6/rawhide.


Note You need to log in before you can comment on or make changes to this bug.