Finally Got GCJ 3.4 Working Under MingW
Mohan Embar
gnustuff@thisiscool.com
Mon May 12 15:53:00 GMT 2003
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/
More information about the Java
mailing list