tomcat7.0
15 years agoBuild script improvements:
markt [Sat, 24 Apr 2010 21:18:40 +0000 (21:18 +0000)]
Build script improvements:
 - build src jars for every jar
 - use ecj-x.x.x.jar directly
 - add an embed-release target

Note: src JARs are required to fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48222 (providing src JARs for Maven)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937698 13f79535-47bb-0310-9956-ffa450edef68

15 years agoThe release build doesn't run the tests
markt [Sat, 24 Apr 2010 21:10:25 +0000 (21:10 +0000)]
The release build doesn't run the tests

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937697 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48644
markt [Sat, 24 Apr 2010 19:26:17 +0000 (19:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48644
Don't silently swallow Throwables that need to be re-thrown
Patch provided by Charlotte H (with a few tweaks)
Patch developed during the London GDC OS Jumpstart 2010

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937680 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRestore global JNDI support broken in r937542
markt [Sat, 24 Apr 2010 19:21:14 +0000 (19:21 +0000)]
Restore global JNDI support broken in r937542

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937678 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49132
markt [Fri, 23 Apr 2010 22:20:33 +0000 (22:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49132
Need to start JNDI before listeners are called

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937542 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd test case for bug 49132.
markt [Fri, 23 Apr 2010 22:19:12 +0000 (22:19 +0000)]
Add test case for bug 49132.
Check JNDI is available when ServletContextListeners start

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937541 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove unnecessary instanceof tests ID'd by FindBugs
markt [Fri, 23 Apr 2010 15:09:58 +0000 (15:09 +0000)]
Remove unnecessary instanceof tests ID'd by FindBugs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937325 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove impossible tests ID'd by FindBugs
markt [Fri, 23 Apr 2010 15:06:40 +0000 (15:06 +0000)]
Remove impossible tests ID'd by FindBugs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937324 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49140
markt [Fri, 23 Apr 2010 15:03:28 +0000 (15:03 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49140
Use appropriate iterators and for-each where possible

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937322 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49143
markt [Fri, 23 Apr 2010 14:23:45 +0000 (14:23 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49143
Threading / initialisation issues. Not all were valid. Make them volatile anyway so FindBugs doesn't complain.
Fix some additional issues - use of valueOf() - found along the way

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937309 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49144
markt [Fri, 23 Apr 2010 13:59:54 +0000 (13:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49144
Not an issue but stop FindBugs complaining
Also fix one other FindBugs report for this class.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937302 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49164
markt [Fri, 23 Apr 2010 13:48:16 +0000 (13:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49164
Improve unit tests by propagating failures from spawned threads to main thread.
Patch provided by Felix Schumacher.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937298 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49171
markt [Fri, 23 Apr 2010 13:43:27 +0000 (13:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49171
Fix IDE warning
Patch provided by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937292 13f79535-47bb-0310-9956-ffa450edef68

15 years agoServlet 3. Implement ServletContainerInitializer support
markt [Fri, 23 Apr 2010 13:34:17 +0000 (13:34 +0000)]
Servlet 3. Implement ServletContainerInitializer support

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937288 13f79535-47bb-0310-9956-ffa450edef68

15 years agoContext aliases:
rjung [Fri, 23 Apr 2010 12:16:56 +0000 (12:16 +0000)]
Context aliases:
- add a little to the docs
- disallow an alias for "/"

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937264 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRespect configurable search order in getURLs().
rjung [Thu, 22 Apr 2010 15:14:11 +0000 (15:14 +0000)]
Respect configurable search order in getURLs().

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936892 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate changelog.
rjung [Thu, 22 Apr 2010 13:36:03 +0000 (13:36 +0000)]
Update changelog.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936840 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd docs about VirtualWebappLoader.
rjung [Thu, 22 Apr 2010 13:27:38 +0000 (13:27 +0000)]
Add docs about VirtualWebappLoader.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936837 13f79535-47bb-0310-9956-ffa450edef68

15 years agoExpose the new WebappLoader flag in the VirtualWebappLoader,
rjung [Thu, 22 Apr 2010 13:11:24 +0000 (13:11 +0000)]
Expose the new WebappLoader flag in the VirtualWebappLoader,
but allow alternative name searchVirtualFirst to make it
consistent with the "virtual" terminology.

Now you can decide, whether the virtual paths will
be searched before the webapp or after it.

If searched before, external resources take precendence
over internal ones. Before that change one couldn't overwrite
resources already present in the webapp.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936825 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd property "searchExternalFirst" to WebappLoader:
rjung [Thu, 22 Apr 2010 13:08:01 +0000 (13:08 +0000)]
Add property "searchExternalFirst" to WebappLoader:
if set the external repositories will be searched before
the WEB-INF ones. Default (false) is unchanged behaviour.
Expose the new property via JMX and document it..

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936823 13f79535-47bb-0310-9956-ffa450edef68

15 years agoExpose properties of VirtualWebappLoader
rjung [Thu, 22 Apr 2010 13:00:11 +0000 (13:00 +0000)]
Expose properties of VirtualWebappLoader
and WebappClassLoader via JMX.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936819 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49170
kfujino [Thu, 22 Apr 2010 10:57:55 +0000 (10:57 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49170

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936777 13f79535-47bb-0310-9956-ffa450edef68

15 years agoComplete review of spec. One additional requirement
markt [Thu, 22 Apr 2010 10:06:06 +0000 (10:06 +0000)]
Complete review of spec. One additional requirement

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936723 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate
markt [Thu, 22 Apr 2010 08:33:53 +0000 (08:33 +0000)]
Update

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936651 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd support for loading static resources from /META-INF/resources inside JARs bundled...
markt [Thu, 22 Apr 2010 08:13:08 +0000 (08:13 +0000)]
Add support for loading static resources from /META-INF/resources inside JARs bundled with a web application

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936646 13f79535-47bb-0310-9956-ffa450edef68

15 years agotypos
markt [Thu, 22 Apr 2010 08:02:14 +0000 (08:02 +0000)]
typos

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936642 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix Eclipse warnings
markt [Thu, 22 Apr 2010 08:00:26 +0000 (08:00 +0000)]
Fix Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936641 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix typo in overridden method name
markt [Thu, 22 Apr 2010 07:59:21 +0000 (07:59 +0000)]
Fix typo in overridden method name

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936640 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix CVE-2010-1157.
markt [Wed, 21 Apr 2010 22:11:29 +0000 (22:11 +0000)]
Fix CVE-2010-1157.
Prevent possible disclosure of host name or IP address via the HTTP WWW-Authenticate header when using BASIC or DIGEST authentication.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936539 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix for 43642.
jfclere [Wed, 21 Apr 2010 12:55:19 +0000 (12:55 +0000)]
Fix for 43642.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936289 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMinor fixes
markt [Wed, 21 Apr 2010 12:07:05 +0000 (12:07 +0000)]
Minor fixes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936274 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove mystery method
markt [Tue, 20 Apr 2010 22:19:42 +0000 (22:19 +0000)]
Remove mystery method

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936091 13f79535-47bb-0310-9956-ffa450edef68

15 years agogetCookies is a httpServletRequestMethod, not a httpServletResponseMethod
markt [Tue, 20 Apr 2010 22:11:15 +0000 (22:11 +0000)]
getCookies is a httpServletRequestMethod, not a httpServletResponseMethod

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936086 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49141
markt [Tue, 20 Apr 2010 19:49:10 +0000 (19:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49141
Stop Findbugs complaining

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936047 13f79535-47bb-0310-9956-ffa450edef68

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49158
fhanik [Tue, 20 Apr 2010 17:13:37 +0000 (17:13 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49158
Session cookies should only set one header

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935998 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd test case for bug 49158
fhanik [Tue, 20 Apr 2010 16:34:27 +0000 (16:34 +0000)]
Add test case for bug 49158

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935984 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdditional patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=48589
kkolinko [Tue, 20 Apr 2010 16:30:52 +0000 (16:30 +0000)]
Additional patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=48589
Do not access JNDIRealm$User class fields directly, but use the getter methods,
as (theoretically) those can be overwritten in subclasses.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935983 13f79535-47bb-0310-9956-ffa450edef68

15 years agoremove null check.
kfujino [Tue, 20 Apr 2010 00:46:19 +0000 (00:46 +0000)]
remove null check.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935777 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49151
kfujino [Mon, 19 Apr 2010 10:12:02 +0000 (10:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49151

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935510 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49150
kfujino [Mon, 19 Apr 2010 10:07:16 +0000 (10:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49150

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935509 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImprove the ChatServlet comet example.
kkolinko [Sat, 17 Apr 2010 01:59:56 +0000 (01:59 +0000)]
Improve the ChatServlet comet example.
1. Fix possible deadlock in ChatServlet$MessageSender, similar to BZ 48843.
2. Properly wake up ChatServlet$MessageSender when the servlet is destroyed.
3. Filter special characters when printing the message in ChatServlet.
4. Provide an explicit charset everywhere.
5. Fix frames layout. Fix redirections.
Use target="<name>" attribute in HTML to send request to a particular frame.
6. Fix DTDs. Use frameset DTD for the page containing frames.
7. Add "xxx joined the chat" message at startup.
8. Rename chat.jsp -> index.jsp, so that the entry point to this example is more visible.
9. Corrected the link that opens a new chat window. It referenced an undefined JavaScript function. Now it is implemented just by using target="_blank".
10. Added submit button to the form pages.
11. Minor message tweaks.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935105 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMore checking against the spec
markt [Fri, 16 Apr 2010 22:39:55 +0000 (22:39 +0000)]
More checking against the spec

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935092 13f79535-47bb-0310-9956-ffa450edef68

15 years agoGet build working with relative base.path
markt [Fri, 16 Apr 2010 20:41:11 +0000 (20:41 +0000)]
Get build working with relative base.path

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935077 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove unused dependency on o.a.t.util.collections.MultiMap.
kkolinko [Fri, 16 Apr 2010 15:44:51 +0000 (15:44 +0000)]
Remove unused dependency on o.a.t.util.collections.MultiMap.
An indication here is that MultiMap$Field.name and .value fields are never assigned.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934968 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix asyn with APR.
jfclere [Fri, 16 Apr 2010 14:44:50 +0000 (14:44 +0000)]
Fix asyn with APR.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934936 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReview section 4. More stuff to do.
markt [Fri, 16 Apr 2010 06:45:39 +0000 (06:45 +0000)]
Review section 4. More stuff to do.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934696 13f79535-47bb-0310-9956-ffa450edef68

15 years agoClean up a bit
fhanik [Fri, 16 Apr 2010 03:37:59 +0000 (03:37 +0000)]
Clean up a bit

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934677 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd in statement cache
fhanik [Fri, 16 Apr 2010 00:02:53 +0000 (00:02 +0000)]
Add in statement cache

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934651 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect a misprint (s/provide/provided), wrap the long line.
kkolinko [Thu, 15 Apr 2010 23:41:52 +0000 (23:41 +0000)]
Correct a misprint (s/provide/provided), wrap the long line.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934647 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to r934220.
kkolinko [Thu, 15 Apr 2010 23:36:49 +0000 (23:36 +0000)]
Followup to r934220.
Set svn:eol-style=native for the added files. No change in their content.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934644 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSection 3 of spec checked
markt [Thu, 15 Apr 2010 23:07:22 +0000 (23:07 +0000)]
Section 3 of spec checked

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934640 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImplement SRV.3.2. Non file parts should be exposed via getParameters()
markt [Thu, 15 Apr 2010 22:57:36 +0000 (22:57 +0000)]
Implement SRV.3.2. Non file parts should be exposed via getParameters()
Cache results so multiple calls to getParts() work

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934634 13f79535-47bb-0310-9956-ffa450edef68

15 years agoif error, next request
fhanik [Thu, 15 Apr 2010 15:38:17 +0000 (15:38 +0000)]
if error, next request

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934457 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSection 3.2 of the Servlet 3 spec says getParameter should still work for parameters...
markt [Thu, 15 Apr 2010 15:01:55 +0000 (15:01 +0000)]
Section 3.2 of the Servlet 3 spec says getParameter should still work for parameters that do not represent file uploads (it doesn't at the moment - patch to follow)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934438 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate release plan.
markt [Thu, 15 Apr 2010 12:06:24 +0000 (12:06 +0000)]
Update release plan.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934382 13f79535-47bb-0310-9956-ffa450edef68

15 years agosessionCounter and expiredSessions declares as long instead of int.
kfujino [Thu, 15 Apr 2010 09:19:02 +0000 (09:19 +0000)]
sessionCounter and expiredSessions declares as long instead of int.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934337 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49024
markt [Wed, 14 Apr 2010 23:17:26 +0000 (23:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49024
Enhance the RemoteIpFilter docs
Patch provided by Cyrille Le Clerc

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934239 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49129
markt [Wed, 14 Apr 2010 23:13:45 +0000 (23:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49129

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934238 13f79535-47bb-0310-9956-ffa450edef68

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49118
markt [Wed, 14 Apr 2010 22:50:35 +0000 (22:50 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49118
Use StringBuilder rather than concatenation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934234 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49110
markt [Wed, 14 Apr 2010 22:47:57 +0000 (22:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49110
Make inner class static to prevent possible memory leak - found by FindBugs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934233 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49109
markt [Wed, 14 Apr 2010 22:43:37 +0000 (22:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49109
Remove unused authenticate() method with a broken default impl

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934232 13f79535-47bb-0310-9956-ffa450edef68

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49106
markt [Wed, 14 Apr 2010 22:29:34 +0000 (22:29 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49106
Remove unused import

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934225 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49105
markt [Wed, 14 Apr 2010 22:27:59 +0000 (22:27 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49105
Misc Javadoc corrections.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934224 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49104
markt [Wed, 14 Apr 2010 22:24:17 +0000 (22:24 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49104
Generics

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934223 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49103
markt [Wed, 14 Apr 2010 22:19:33 +0000 (22:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49103
Add @Override where appropriate

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934222 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTwo BCEL files have IBM copyright and EPL licensing. Update LICENSE and NOTICE files...
markt [Wed, 14 Apr 2010 22:11:30 +0000 (22:11 +0000)]
Two BCEL files have IBM copyright and EPL licensing. Update LICENSE and NOTICE files accordingly.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934220 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCPL allows us to elect to distribute under a later version of the license so elect...
markt [Wed, 14 Apr 2010 22:10:35 +0000 (22:10 +0000)]
CPL allows us to elect to distribute under a later version of the license so elect to distribute under EPL as we are already using EPL for Eclipse JDT.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934219 13f79535-47bb-0310-9956-ffa450edef68

15 years agoDon't include modules in the src release
markt [Wed, 14 Apr 2010 21:40:13 +0000 (21:40 +0000)]
Don't include modules in the src release

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934207 13f79535-47bb-0310-9956-ffa450edef68

15 years agoParametrise current year in all embedded NOTICE files
markt [Wed, 14 Apr 2010 21:25:20 +0000 (21:25 +0000)]
Parametrise current year in all embedded NOTICE files
Don't use the same property name for different output files

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934203 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd license headers to NSIS files
markt [Wed, 14 Apr 2010 20:51:19 +0000 (20:51 +0000)]
Add license headers to NSIS files

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934192 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAL2 header
markt [Wed, 14 Apr 2010 20:18:14 +0000 (20:18 +0000)]
AL2 header

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934173 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTomcat 7 needs Java 6
markt [Wed, 14 Apr 2010 20:11:59 +0000 (20:11 +0000)]
Tomcat 7 needs Java 6

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934170 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd info on API stability to the release.
markt [Wed, 14 Apr 2010 18:00:34 +0000 (18:00 +0000)]
Add info on API stability to the release.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934067 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFully fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49082
markt [Wed, 14 Apr 2010 14:46:07 +0000 (14:46 +0000)]
Fully fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49082

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933972 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49045
markt [Wed, 14 Apr 2010 12:07:04 +0000 (12:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49045
Add support for adding Services and Engines via JMX
Based on a patch by Chamith Buddhika

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933921 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAlternative fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49089
markt [Wed, 14 Apr 2010 10:14:34 +0000 (10:14 +0000)]
Alternative fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49089

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933907 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49116
kfujino [Wed, 14 Apr 2010 08:48:43 +0000 (08:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49116
If session is already invalid, expire session to prevent memory leak.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933881 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix download location for native binaries
markt [Tue, 13 Apr 2010 09:59:54 +0000 (09:59 +0000)]
Fix download location for native binaries

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933535 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49086
markt [Mon, 12 Apr 2010 10:34:09 +0000 (10:34 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49086
Add Javadocs to javax.servlet.annotation
Patch provided by Pid.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933183 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMake constant final
markt [Mon, 12 Apr 2010 09:47:42 +0000 (09:47 +0000)]
Make constant final

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933168 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49091
markt [Mon, 12 Apr 2010 09:42:07 +0000 (09:42 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49091
Reduce visibility

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933167 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMake public constant final
markt [Mon, 12 Apr 2010 09:35:52 +0000 (09:35 +0000)]
Make public constant final

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933165 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPartial fox for https://issues.apache.org/bugzilla/show_bug.cgi?id=49082
markt [Mon, 12 Apr 2010 09:26:39 +0000 (09:26 +0000)]
Partial fox for https://issues.apache.org/bugzilla/show_bug.cgi?id=49082
java.home may not include the final path separator

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933162 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd some additional tests
markt [Mon, 12 Apr 2010 08:32:22 +0000 (08:32 +0000)]
Add some additional tests

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933141 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRe-factor to allow easier addition of extra tests
markt [Mon, 12 Apr 2010 08:26:34 +0000 (08:26 +0000)]
Re-factor to allow easier addition of extra tests

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933140 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBack to -dev
markt [Sun, 11 Apr 2010 23:02:13 +0000 (23:02 +0000)]
Back to -dev

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933021 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPrepare for RC1 release
markt [Sun, 11 Apr 2010 22:52:44 +0000 (22:52 +0000)]
Prepare for RC1 release

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933012 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTCK failures: EL TCK with security manager
markt [Sun, 11 Apr 2010 22:43:09 +0000 (22:43 +0000)]
TCK failures: EL TCK with security manager

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@933007 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUse spec compliant session expiration in STRICT_SERVLET_COMPLIANCE mode.
rjung [Sun, 11 Apr 2010 20:51:16 +0000 (20:51 +0000)]
Use spec compliant session expiration in STRICT_SERVLET_COMPLIANCE mode.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932989 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReduce failures of new API when running under security manager.
rjung [Sun, 11 Apr 2010 18:26:20 +0000 (18:26 +0000)]
Reduce failures of new API when running under security manager.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932969 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49081
markt [Sun, 11 Apr 2010 18:15:02 +0000 (18:15 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49081
"#${1+1}" should evaluate to "#2"
Note that all files apart from ELParser.jjt are generated by javacc from the changes to ELParser.jjt

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932967 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd test cases for https://issues.apache.org/bugzilla/show_bug.cgi?id=49081
markt [Sun, 11 Apr 2010 18:09:16 +0000 (18:09 +0000)]
Add test cases for https://issues.apache.org/bugzilla/show_bug.cgi?id=49081
"#${1+1}" should evaluate to "#2"

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932965 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAllow JioEndpoint to switch context class loader
rjung [Sun, 11 Apr 2010 17:47:00 +0000 (17:47 +0000)]
Allow JioEndpoint to switch context class loader
under security manager. Code copied from standard session.

Add two more classes to class pre-loading to improve
security manager interoperability.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932953 13f79535-47bb-0310-9956-ffa450edef68

15 years agoIgnore request handling time in session lastAccessedTime
rjung [Sun, 11 Apr 2010 15:53:07 +0000 (15:53 +0000)]
Ignore request handling time in session lastAccessedTime
when acting servlet spec compliant.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932926 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAnd another property for the policy.
rjung [Sun, 11 Apr 2010 01:46:20 +0000 (01:46 +0000)]
And another property for the policy.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932826 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd another property access to our security policy.
rjung [Sun, 11 Apr 2010 01:26:43 +0000 (01:26 +0000)]
Add another property access to our security policy.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932823 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd permission to read the STRICT_SERVLET_COMPLIANCE property
rjung [Sun, 11 Apr 2010 01:08:09 +0000 (01:08 +0000)]
Add permission to read the STRICT_SERVLET_COMPLIANCE property
to our default policy for the security manager.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932822 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd missing class.
jfclere [Sat, 10 Apr 2010 18:07:39 +0000 (18:07 +0000)]
Add missing class.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932776 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTCK failure (with security manager): Preload required class.
markt [Sat, 10 Apr 2010 15:53:14 +0000 (15:53 +0000)]
TCK failure (with security manager): Preload required class.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932751 13f79535-47bb-0310-9956-ffa450edef68

15 years agoJavadoc update
markt [Fri, 9 Apr 2010 11:43:16 +0000 (11:43 +0000)]
Javadoc update

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932363 13f79535-47bb-0310-9956-ffa450edef68