This is the mail archive of the kawa@sourceware.org mailing list for the Kawa 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: A Boolean inside a subclass of a subclass of Thread is null when accessed from run().


Kjetil S. Matheussen wrote:

Your test program works for me.

The weird thing about this is that the variable "isplaying" is a Boolean
initialized to false in the class AThread:
"private Boolean isplaying=true;"

Note you typed Boolean rather than boolean, so it's actually implemented as: private Boolean isplaying=Boolean.valueOf(true); -- --Per Bothner per@bothner.com http://per.bothner.com/


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