-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 André-John,
On 4/17/2009 10:10 AM, Andre-John Mas wrote: > If the target date is after the target date for our project, what do you > reckon is the simplest way to apply a patched Globals.java to a Tomcat > instance without recompiling the whole Tomcat 5.5.27? Unfortunately, you will have to recompile everything. The java compiler performs an optimization for static final members that are assigned values in their declaration: it actually copies the value into the dependent class instead of referencing the original class. That means that you can't simply replace Globals.class in catalina.jar and expect it to change the name of the session cookie because Globals.class is probably ignored most (or all) of the time. You are always welcome to use the current HEAD version in svn, but YMMV. Be sure to test, test, test! The good news is that TC 5.5 is seeing little in the way of new feature development, so the svn HEAD should be very stable. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknon3EACgkQ9CaO5/Lv0PBgAwCfYC/zbxeTgqu5BkKtqhZz2cYW ooEAn0npbYfaN9rtYxsTR59o7TpESd8n =fbOW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org