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: GCJ Windows and SWT


I made the background colors class variables and this fixed the problem
running under the JRE but not under GCJ. Here is the stack trace from catch
(Throwable e) in main:

#0  0x77f9323e in ?? ()
#1  0x7c4fabfb in _libwsock32_a_iname ()
#2  0x005b7e03 in java::lang::Object::wait(long long, int) ()
#3  0x005b5bf9 in java::lang::Object::wait() ()
#4  0x005f700f in gnu::gcj::runtime::FinalizerThread::run() ()
#5  0x005d0097 in _Jv_ThreadRun(java::lang::Thread*) ()
#6  0x005ff3f0 in _Z12really_startPv@4 ()
#7  0x00679ade in thread_start@4 ()
#8  0x7c4e987c in _libwsock32_a_iname ()

J.R.

> -----Original Message-----
> From: Erik Poupaert [mailto:erik.poupaert@freestyler-toolkit.org]
> Sent: Monday, September 22, 2003 1:42 PM
> To: JR Ruggentaler
> Cc: gnustuff@thisiscool.com; java@gcc.gnu.org
> Subject: Re: GCJ Windows and SWT
> 
> 
> 
> In my impression, you've got an issue with setting the 
> background of your tableitem.
> I would verify the argument you've set. It doesn't look like 
> a threading problem,
> because SWT clearly indicates when it is threading-related.
> 
> > java.lang.IllegalArgumentException: Argument not valid 	
> > at org.eclipse.swt.SWT.error(SWT.java:2318) 	
> > at org.eclipse.swt.SWT.error(SWT.java:2262) 	
> > at 
> org.eclipse.swt.widgets.TableItem.setBackground(TableItem.java:451) 	
> 
> But then again, that would be a question to direct to the 
> eclipse/swt people. They
> have forums at http://www.eclipse.org/newsgroups/index.html.
> 


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