Re: Bug fix in java.lang.Boolean

2001-07-17 Thread John Keiser
On 18 Jul 2001 00:21:17 +0200, Mark Wielaard wrote: > Hi, > > On Sat, Jul 14, 2001 at 07:34:42PM -0400, John Keiser wrote: > > > > And yes, FYI, that means I'm volunteering to check this in, along with > > the doc changes, as soon as I figure out my CVS access again (new > > computer, no Kerbero

Re: Bug fix in java.lang.Boolean

2001-07-17 Thread Mark Wielaard
Hi, On Sat, Jul 14, 2001 at 07:34:42PM -0400, John Keiser wrote: > > And yes, FYI, that means I'm volunteering to check this in, along with > the doc changes, as soon as I figure out my CVS access again (new > computer, no Kerberos). I'll test some of the doc changes to make sure > we actually

Re: Bug fix in java.lang.Boolean

2001-07-14 Thread John Keiser
On 14 Jul 2001 18:31:05 -0600, Tom Tromey wrote: > > "John" == John Keiser <[EMAIL PROTECTED]> writes: > > John> Perhaps I haven't fully understood the conversation (it > John> happens), but I have not seen an objection to changing Boolean > John> as proposed and I personally think that it is

Re: Bug fix in java.lang.Boolean

2001-07-14 Thread Tom Tromey
> "John" == John Keiser <[EMAIL PROTECTED]> writes: John> Perhaps I haven't fully understood the conversation (it John> happens), but I have not seen an objection to changing Boolean John> as proposed and I personally think that it is nicer and more John> self-documenting if the field is fina

Re: Bug fix in java.lang.Boolean

2001-07-14 Thread John Keiser
--- From: "Eric Blake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 11:47 AM Subject: RE: Bug fix in java.lang.Boolean > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Be

RE: Bug fix in java.lang.Boolean

2001-07-13 Thread Eric Blake
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > Of Tom Tromey > Sent: 13 July 2001 18:12 > To: Eric Blake > Cc: [EMAIL PROTECTED] > Subject: Re: Bug fix in java.lang.Boolean > > > >>>>> "Eric" ==

Re: Bug fix in java.lang.Boolean

2001-07-13 Thread Tom Tromey
> "Eric" == Eric Blake <[EMAIL PROTECTED]> writes: Eric> Unless java.lang.Boolean.value is final, reflection is free to Eric> modify the field given sufficient permission. Eric> [ ... ] Eric> Immutable objects must be immutable! Classpath ought to Eric> have better security than Sun, so here

Bug fix in java.lang.Boolean

2001-07-13 Thread Eric Blake
Consider this program: import java.lang.reflect.*; class Foo { static void print() { System.out.println("true == " + Boolean.TRUE); System.out.println("false == " + Boolean.FALSE); } public static void main(String[] args) { print(); try