This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
RE: Patch: Another AWT patch
- To: "'Bryce McKinlay'" <bryce at albatross dot co dot nz>
- Subject: RE: Patch: Another AWT patch
- From: Anthony Green <green at cygnus dot com>
- Date: Mon, 31 Jul 2000 06:29:16 -0700
- Cc: "'java-patches at sources dot redhat dot com'" <java-patches at sources dot redhat dot com>
- Organization: Red Hat
- Reply-To: "green at cygnus dot com" <green at cygnus dot com>
On Monday, July 31, 2000 1:05 AM, Bryce McKinlay [SMTP:bryce@albatross.co.nz]
wrote:
> I'm not 100% sure how the treelock is supposed to work, but there
> shouldn't be one for every component. I think making it a static field
> with an initializer should be sufficient for now.
Right. The book says "It is a global lock and is shared by all live
components running in the system (or more precisely, from one class loader)".
I agree that Rolf's implementation is fine. I was just going to new
Object(), but I can see how it might be nice to have a String. I'll fix it
today.
AG