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

Re: kaffe transition & freemind



Hi Eric,

Eric Lavarde - Debian wrote:
Hi,

I've got a good news: FreeMind is compiling with the new kaffe.
The bad news is that it's not usable with kaffe (FreeMind starts but spits
errors, doesn't redraw properly when using the menus, and is just not
usable).

Thats just normal, given the state of free swing atm.

So, my question: once I've looked a bit more into it, is it valid to
create bug reports against kaffe?

Sure, however you have to know that this wont't mean that the
bugs get fixed actually. These swing stuff is a currently hard
worked on target upstream. Small self contained testcase would
help. I will forward bugs upstream as I don't work in the swing
area at all.

Default (System) Look & Feel: javax.swing.plaf.metal.MetalLookAndFeel
Exception during event dispatch:
java.lang.ClassCastException: can't cast
`gnu/java/awt/peer/gtk/GdkGraphics' to`java/awt/Graphics2D'
   at freemind.main.FreeMindSplash$1.paint (FreeMindSplash.java:59)

This one is in your responsibility. kaffe is (since 1.1.6) compiled
against cairo. If your program used Graphics2D you must start it with
the property -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D !

This will no longer be needed if the Graphics2D reoganization is done.
Maybe 0.21 but I believe more 0.22 upstream release.

[...]
Exception during event dispatch:
java.lang.NullPointerException
   at freemind.view.mindmapview.NodeView.addDragListener (NodeView.java:176)
[...]

Well, maybe missing a null check somewhere. A stacktrace without the runtime
classes however doesn't help anything :-)

Regards,
Wolfgang



Reply to: