This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Finally Got GCJ 3.4 Working Under MingW
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: lars at rimfaxe dot com, "Ranjit Mathew" <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 12 May 2003 10:48:53 -0500
- Subject: Re: Finally Got GCJ 3.4 Working Under MingW
- Reply-to: gnustuff at thisiscool dot com
Hi Ranjit,
>>+ return !!GetHandleInformation (h, &dwFlags);
>Why are you using double negation here? BTW, GetHandleInformation( ) is
>not supported on Win9x/ME, so we have to find a better way. I guess
>it's OK to live without supporting (for the moment) console handles on
>systems below Win2K/XP than not to support Win9x/ME at all.
This turns a non-zero value to boolean true, but it's probably too arcane for
general consumption. I'll revert to !=0
I'm not happy with this either, but it's a temporary workaround. My long-term
solution is to cache OS major and minor version and use this to see whether
I'm allowed to use GetHandleInformation(). If not, I'll return true.
>The rest of the code that you have replaced seems to be there *as is*
>in 3.3 as well, so why should it be causing problems in 3.4? Something
>else is hosed up badly in 3.4...
Even with 3.3, stack frames get corrupted if an exception is thrown during
bootstrapping. The new 3.4 java.io stuff brought this out. I don't know why
the corruption happens. Does this have anything to do with the SEH stuff
you were working on?
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/