Mike new thing about static final references..I was not knowing this.. -----Original Message----- From: Peter Royal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 10:03 PM To: Avalon Developers List Subject: Re: ContainerManager abstraction
On Tuesday 05 February 2002 04:03 pm, Berin Loritsch wrote: > I have noticed something interesting regarding static final references. > When I changed CONTEXT_DIRECTORY to "context-root" from > "Container.contextRoot" I found that my precompiled class held on to its > original value until it was recompiled. With that discovery, it is > feasible to have interface versions that use the Version object, and the > versions will maintain their value in implementing classes until > recompiled. Cool beans, eh? For that example :) I've been bitten by that exact behavior because I'll change a constant in one class and a static final ref in other won't get compiled when I compile the project. I have to wipe the .class files to force it to compile all. But still, its useful in certain instances :) -pete -- peter royal -> [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
