[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22984] swing: regression with omniscient debugger
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug classpath/22984] swing: regression with omniscient debugger |
Date: |
16 Oct 2005 01:27:52 -0000 |
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?
------- Comment #1 from from-classpath at savannah dot gnu dot org 2005-06-18
16:28 -------
This change seems to also reopen bug #13164.
------- Comment #2 from from-classpath at savannah dot gnu dot org 2005-06-22
14:57 -------
2005-06-22 Mark Wielaard <address@hidden>
Fixes bug #13439
* javax/swing/JScrollPane.java (JScrollPane(Component,int,int)):
Set viewport, view and scrollLostener manually.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22984
- [Bug classpath/22984] swing: regression with omniscient debugger,
gcc-bugzilla at gcc dot gnu dot org <=