On 25/03/2010 19:26, Konstantin Kolinko wrote: > 2010/3/25 Mark Thomas <ma...@apache.org>: >> On 25/03/2010 11:34, kkoli...@apache.org wrote: >>> @@ -234,6 +234,12 @@ PATCHES PROPOSED TO BACKPORT: >>> and Catalina. Jasper should be independent. >>> The patch also needs to use the StringManager for i18n. I'm >>> working on an updated patch. >>> + kkolinko - Jasper vs. Catalina dependency can be solved by moving the >>> + new LockAwareURLClassLoader class to some other package. >>> + Can go into o.a.tomcat.util.<something>. that is currently >>> + packed into tomcat-coyote.jar in TC 6.0. The only >>> + "dependency" on Catalina there is the name of the system >>> + property that controls the behaviour. >> >> How about just sync'ing on this in 6.0.x and 5.5.x and experiementing >> new options in Tomcat 7. >> >> In 7.0.x, the tomcat-api jar is shared between Catalina and Jasper but >> for these classloader changes I'm leaning towards just using copy and >> paste to keep things simple. >> > > 1. I just noted several hour ago, that there is one more classloader that > needs to inherit from LockAwareClassLoader: > o.a.catalina.loader.StandardClassLoader > > So LockAwareClassLoader has to go into bootstrap.jar
That is going to get tricky to keep Jasper independent. Copy and paste is looking better all the time ;) > 2. For 5.5 I definitely would go with just sync(this). There is no point to > target JRE 7 features there. > > 3. For 6.0 I am fine to go with sync(this) now. OK. I'll apply that change to trunk and propose it for 6.0.x and 5.5.x. > JRE 7.0 support is an enhancement and can be considered separately. I'd be happy with somethign in 7.0.x, disabled by default that we could back-port to 6.0.x once we were happy it was stable. > I will attach my old patch to BZ 48903 for future reference. Sounds good. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org