This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: trouble building libgcj on FreeBSD 2.2.7


Anthony Green wrote:
> I suppose our two options are
> 
> 1) add a configure test for pthread_cancel, and JvFail in Thread.stop
>    if it isn't provided, or
> 
> 2) simply remove Thread.stop.

Can't do this.  Even though Thread.stop() is deprecated, removing it is
an API change, and the runtime will fail java compatability tests.

1) sounds fine to me.  Or just make it a no-op... my tests show it
doesn't always work anyway (e.g. you can't stop() a thread waiting for a
monitor).

-- 
Jeff Sturm
jsturm@sigma6.com

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