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: [gui] Boolean and formatting fix


>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:

Michael> Are you sure this is correct ? boolean.class is not the same as 
Michael> Boolean.class.

He's still passing boolean.class to getConstructor.  For the actual
newInstance call, boolean values must be wrapped in Boolean, he just
changed the code from `new Boolean' to `Boolean.valueOf'.

Tom


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