This is the mail archive of the java-patches@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: patch: gcc 2.96 compile fixes, file creation mode, ServerSocket bind cleanup


Bryce> Yeah, I found that to be pretty odd too. Perhaps it isn't a
Bryce> problem in most cases, but here the compiler seems to think
Bryce> that "false" is ambiguous (because the java.lang.Boolean
Bryce> constructor is overloaded). Maybe its a compiler bug -
Bryce> shouldn't it be implicitly interpreting "false" as a jboolean,
Bryce> given the choice?

I think so.  Maybe we should just ditch jboolean and use the C++
boolean.  I don't know all the implications of this.  I think we have
to involve the g++ hackers to find the real answer.

>> So for this little piece (the boolean cast) I'd rather get more
>> information before checking it in.

Bryce> ok.

BTW, in case it wasn't obvious: please check in the other bits (except
give Warren a chance to look at the java.net parts), once the minor
formatting things are cleaned up.

Tom

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