This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: awt problem on darwin


Hi Bryce,

again thanks for your answers.

Bryce McKinlay wrote:

 > Well, gcj's AWT support is still very much experimental/incomplete, so
 > right now you'd be pretty lucky to get it running without a bit of
 > hacking. I don't think you'll have much luck on Darwin without threads
 > because AWT is multi-threaded by (bad) design. The event dispatch thread
 > won't be able to start, so you should just get an exception while AWT is
 > trying to initialize.

Hmm, something the like I expected to hear. Really hope to see 10.X soon.

 >
 > I'm not sure if thats the error you're seeing, however - it looks like
 > an exception is thrown while trying to load/initialize the toolkit class
 > (which can be expected if you are static linking since the toolkit is
 > loaded with Class.forName) , but something goes wrong trying to print
 > the exception and stack trace. Does exception printing normally work on
 > Darwin?

What do you mean with exception printing? Like this one?

[titanium:~/tst] andreast% gij closure_test.java
Exception in thread "main"

Thanks,
Andreas









Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]