commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bug #13439] swing: regression with omniscient debugger


From: Timo Lindfors
Subject: [commit-cp] [bug #13439] swing: regression with omniscient debugger
Date: Fri, 17 Jun 2005 22:03:44 +0000
User-agent: Elinks

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13439>

                 Summary: swing: regression with omniscient debugger
                 Project: classpath
            Submitted by: lindi
            Submitted on: Fri 06/17/05 at 22:03
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

Steps to reproduce:
1. wget http://www.lambdacs.com/debugger/debugger.jar
2. unzip debugger.jar
3. apply following patch to workaround currently unknown bug:

diff -ur ./com/lambda/Debugger/TTYPane.java
../omni/com/lambda/Debugger/TTYPane.java
--- ./com/lambda/Debugger/TTYPane.java  2004-11-22 19:34:22.000000000 +0200
+++ ../omni/com/lambda/Debugger/TTYPane.java    2005-05-31 22:23:47.000000000
+0300
@@ -80,6 +80,7 @@
 
 
     public int getSize() {
+           if (displayList==null) initialize();
        return displayList.size();
     }

4. jamvm com.lambda.Debugger.Debugger
5. Choose "Demo"

Expected results (gnu classpath cvs 2005-06-14T21:00:00+0000):
5. A window opens, it has jsplitpanes that include e.g. method trace, source
code view and TTY output. Screenshot:

http://iki.fi/lindi/odb-classpath-2005-06-14T21:00:00+0000.png

Actual results (gnu classpath cvs 2005-06-14T23:50:00+0000):
5. A window opens, it has jsplitpanes but they are almost empty. Screenshot:
http://iki.fi/lindi/odb-classpath-2005-06-14T23:50:00+0000.png

Diff between the above dates shows the following changelog entry:
+2005-06-14  Mark Wielaard  <address@hidden>
+
+       * javax/swing/JComponent.java (setMinimumSize): Only adjust
+       prefferedSize or maximumSize when they are set.
+       * javax/swing/JScrollPane.java (JScrollPane(Component,int,int)):
+       Set viewport and view manually.

If I copy JScrollPane.java from 21:00:00 to 23:50:00 tree I can see source
code in omniscient debugger again. Maybe this fix should be reverted and/or
improved?






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13439>

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





reply via email to

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