Title: RE: static,synchronized and classloaders(was:Java Question)
Now is this true for when I have multiple contexts mapped to the same docbase? I have seen on this list that Tomcat loads the classes(in web-inf/classes) independently for each context and passing MyObject class instance
Title: RE: static,synchronized and classloaders(was:Java Question)
If your context points to another virtual machine -
yes.
On the same virtual machine static is
static
- Original Message -
From:
Cox, Charlie
To: '[EMAIL PROTECTED]'
Sent: Tuesday, June 12, 2001 3
Title: RE: static,synchronized and classloaders(was:Java Question)
Also, look ifidentical files are generated
based on 2 different context:
abc.MyClass is not the same as xyx.MyClass.
If 2 class loaders
load from identical class files - JVM verifier
should throw the exception
before