[kaffe] Bug report: support.c:707
Max Gilead
gilead at yellowhedgehog.com
Wed Feb 16 01:33:46 PST 2005
On Mon, 14 Feb 2005, pancake wrote:
> for me it works fine.
>
> Building with sun's javac looks like everything goes 'fine' (except for swing bugs in gnuclasspath).
>
> But building it under jikes. also works fine but show this Exception:
I don't know what is the difference but today I checked it again, building
with Sun's javac, Kaffe's javac and jikes - each time it crashes with the
same error I mentioned the first time. Below I paste the log of what I
did.
Any hints about how to debug it further?
Thanks,
Max
max at barracuda:~/JTableTest$ ls
JTableTest.java
max at barracuda:~/JTableTest$ /home/max/sys/kaffe/bin/javac JTableTest.java
max at barracuda:~/JTableTest$ /home/max/sys/kaffe/bin/java JTableTest
kaffe-bin: support.c:707: lookupClassMethod: Assertion `cls != 0 && name
!= 0 && sig != 0' failed.
Aborted
max at barracuda:~/JTableTest$ rm *class
max at barracuda:~/JTableTest$ /home/max/sys/jdk/bin/javac JTableTest.java
max at barracuda:~/JTableTest$ /home/max/sys/kaffe/bin/java JTableTest
kaffe-bin: support.c:707: lookupClassMethod: Assertion `cls != 0 && name
!= 0 && sig != 0' failed.
Aborted
max at barracuda:~/JTableTest$ rm *class
max at barracuda:~/JTableTest$ jikes -cp /home/max/sys/kaffe/jre/lib/rt.jar
JTableTest.java
max at barracuda:~/JTableTest$ /home/max/sys/kaffe/bin/java JTableTest
kaffe-bin: support.c:707: lookupClassMethod: Assertion `cls != 0 && name
!= 0 && sig != 0' failed.
Aborted
max at barracuda:~/JTableTest$
>
> pancake at pl2:/tmp$ /usr/pkg/java/kaffe-cvs/bin/kaffe JTableTest
> Exception during event dispatch:
> java.awt.IllegalComponentStateException: component not showing
> at java.awt.Component.getLocationOnScreen (Component.java:1137)
> at javax.swing.SwingUtilities.convertPointToScreen (SwingUtilities.java:323)
> at javax.swing.SwingUtilities.convertPoint (SwingUtilities.java:380)
> at javax.swing.SwingUtilities.convertRectangle (SwingUtilities.java:418)
> at javax.swing.RepaintManager.paintDirtyRegions (RepaintManager.java:440)
> at javax.swing.RepaintManager$RepaintWorker.run (RepaintManager.java:104)
> at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:191)
> at java.awt.EventQueue.dispatchEvent (EventQueue.java:416)
> at java.awt.EventDispatchThread.run (EventDispatchThread.java:81)
> at java.lang.VMThread.run (VMThread.java:124)
>
> pancake at pl2:/tmp$
>
>
> On Mon, 14 Feb 2005 15:57:54 +0100 (CET)
> Max Gilead <gilead at yellowhedgehog.com> wrote:
>
> > import java.awt.Dimension;
> >
> > import javax.swing.JFrame;
> > import javax.swing.JPanel;
> > import javax.swing.JScrollPane;
> > import javax.swing.JTable;
> >
> > public class JTableTest
> > {
> > public static void main(String[] args)
> > {
> > Object[][] data = new Object[100][3];
> > for (int i = 0; i < data.length; i++)
> > {
> > data[i][0] = "a"+i;
> > data[i][1] = "b"+i;
> > data[i][2] = "c"+i;
> > }
> > JTable table = new JTable(data, new Object[] { "A", "B", "C" });
> > JFrame frame = new JFrame();
> > JPanel panel = new JPanel();
> > panel.add(new JScrollPane(table));
> > panel.setPreferredSize(new Dimension(200, 300));
> > frame.setContentPane(panel);
> > frame.pack();
> > frame.setVisible(true);
> > }
> > }
>
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>
More information about the kaffe
mailing list