Re: [Java-gnome-developer] Running File I/O Thread Crashes Java-Gnome
Brought to you by:
afcowie
From: Jester <jsn...@gm...> - 2010-06-21 05:12:59
|
Hi Andrew and Kenneth, I greatly appreciate your help! Setting GDK_NATIVE_WINDOWS=1 solves the issue and everything is now running perfectly stable. To give you some background: I'm based in San Francisco and am porting a large-scale financial application from Swing to java-gnome. I could immediately see the potential for a fist-class Java application on a gnome desktop when playing with some of your examples and therefore was quite disappointed when I encountered many instabilities that would crash the application within minutes of launching it. As you can imagine the are multiple data streams coming in simultaneously, all processed in parallel in their own worker threads, and that is exactly what triggered the issue. As Andrew mentioned the problem is not fixed and can be easily reproduced with the sample code that I had posted earlier in this thread. It would be great if a future version of java-gnome fixed this for good. Adding a method to set native mode programmatically will come in handy and I'm looking forward to 4.0.16. By the way, the performance of java-gnome is rather good, even with this workaround, and I'm extremely happy with my decision to focus on Linux/Gnome while continuing to leverage the power of Java. Thanks again, guys! Jester |