This is the mail archive of the java-patches@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: cygwin/java patches for 3.1


Does this make sense without the Cygwin pthreads support in the garbage collector?  That patch (from
Dan Bonachea) is currently in my tree, and I think the plan is to merge my next version into 3.2.
It's a fairly substantial patch.  I had no plans to change the 3.1 GC other than to fix any serious bugs
that might appear.

Unless we change this plan, it seems to me these patches only get us closer to the following:

1) A working single-threaded cygwin libjava.  But note that single-threaded Java sin't really very well-defined.  Certain Java features that are not obviously related to threads, notably finalization, won't work reliably, since they were designed for a multithreaded environment.

2) A multi-threaded libjava that fails in increasingly subtle ways.

I think (2) has no value.  I prefer obviously broken to subtle breakage.  How interesting is (1)? 


Hans 

> -----Original Message-----
> From: Billinghurst, David (CRTS)
> [mailto:David.Billinghurst@riotinto.com]
> Sent: Wednesday, May 15, 2002 11:11 PM
> To: gcc-patches@gcc.gnu.org
> Cc: java-patches@gcc.gnu.org
> Subject: cygwin/java patches for 3.1
> 
> 
> I'd like to apply the following patches from 3.2 to 3.1
> (before I forget).  They are tweaks to get libjava to build 
> on cygwin. 
> 
> 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
> 
> 	* testsuite/lib/libjava.exp (test_libjava_from_javac):
> 	Append .exe to executable names.  Fix for cygwin.
> http://gcc.gnu.org/ml/java-patches/2002-q2/msg00327.html
> 
> 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
> 
> 	* testsuite/lib/libjava.exp (libjava_arguments): Don't link
> 	with -no-install on *-*-cygwin*.
> http://gcc.gnu.org/ml/java-patches/2002-q2/msg00293.html
> 
> 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
> 
> 	* testsuite/lib/libjava.exp (test_libjava_from_source):
> 	Append .exe to executable names.  If no suffix is present,
> 	then ".exe" is added by default on win32.  Harmless
> 	elsewhere so always do it.
> http://gcc.gnu.org/ml/java-patches/2002-q2/msg00281.html
> 
> 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
> 	    Tom Tromey  <tromey@redhat.com>
> 
> 	* java/lang/natSystem.cc (getSystemTimeZone): Use
> 	HAVE_UNDERSCORE_TIMEZONE.
> 	* include/config.h.in: Rebuilt.
> 	* acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
> 	* aclocal.m4, configure: Rebuilt.
> 	* acinclude.m4: Run AC_EXEEXT.
> 	* configure.in: Adjust test for `timezone' so it fails 
> on Cygwin.
> 	Add test for `_timezone'.
> 


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