svn commit: r1831003 - in /tomcat/trunk: conf/catalina.policy java/javax/servlet/http/Cookie.java test/javax/servlet/http/TestCookieRFC2109Validator.java

2018-05-05 Thread markt
Author: markt Date: Sat May 5 20:21:21 2018 New Revision: 1831003 URL: http://svn.apache.org/viewvc?rev=1831003=rev Log: Refactor to remove the need for explicit property permissions for Cookie code Modified: tomcat/trunk/conf/catalina.policy

svn commit: r1831001 - /tomcat/trunk/conf/catalina.policy

2018-05-05 Thread markt
Author: markt Date: Sat May 5 19:40:41 2018 New Revision: 1831001 URL: http://svn.apache.org/viewvc?rev=1831001=rev Log: Remove unnecessary permission. After this permission was first granted, the code that reads the property was moved into a privileged block so this permission is no longer

svn commit: r1831000 - in /tomcat/trunk: conf/catalina.policy java/org/apache/jasper/runtime/BodyContentImpl.java webapps/docs/changelog.xml

2018-05-05 Thread markt
Author: markt Date: Sat May 5 19:39:31 2018 New Revision: 1831000 URL: http://svn.apache.org/viewvc?rev=1831000=rev Log: Refactor org.apache.jasper.runtime.BodyContentImpl so an additional permission is not required in catalina.policy This is a follow-up to the fix for 43925. Modified:

svn commit: r1830999 - /tomcat/trunk/java/org/apache/el/lang/ELSupport.java

2018-05-05 Thread markt
Author: markt Date: Sat May 5 19:18:49 2018 New Revision: 1830999 URL: http://svn.apache.org/viewvc?rev=1830999=rev Log: Clean-up Don't use a constant for the result of test that is only used once. Modified: tomcat/trunk/java/org/apache/el/lang/ELSupport.java Modified:

[Bug 62350] AccessControlException: "org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE", "read"

2018-05-05 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62350 --- Comment #8 from Mark Thomas --- An alternative, and arguably better approach, would be to use a privileged block. It is probably more code but it should allow for easier re-use. -- You are receiving this mail because:

buildbot success in on tomcat-trunk

2018-05-05 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/3242 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

svn commit: r1830997 - /tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java

2018-05-05 Thread markt
Author: markt Date: Sat May 5 18:40:57 2018 New Revision: 1830997 URL: http://svn.apache.org/viewvc?rev=1830997=rev Log: Alphabetical order for loaded classes Modified: tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java Modified:

[Bug 62350] AccessControlException: "org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE", "read"

2018-05-05 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62350 --- Comment #7 from Mark Thomas --- Loading the class won't trigger the static initializer. Class.forName(String,boolean,ClassLoader) would work. I was planning on going through the default security policy to see how many

Re: [VOTE] Release Apache Tomcat 8.0.52

2018-05-05 Thread Konstantin Kolinko
2018-04-28 20:22 GMT+03:00 Violeta Georgieva : > The proposed Apache Tomcat 8.0.52 release is now available for voting. > > It can be obtained from: > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.52/ > The Maven staging repo is: >

Re: buildbot failure in on tomcat-trunk

2018-05-05 Thread Konstantin Kolinko
2018-05-05 19:38 GMT+03:00 : > The Buildbot has detected a new failure on builder tomcat-trunk while > building . Full details are available at: > https://ci.apache.org/builders/tomcat-trunk/builds/3241 > > Buildbot URL: https://ci.apache.org/ > > Buildslave for this

buildbot failure in on tomcat-trunk

2018-05-05 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/3241 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

[Bug 62350] AccessControlException: "org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE", "read"

2018-05-05 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62350 Konstantin Kolinko changed: What|Removed |Added Resolution|--- |FIXED

svn commit: r1830993 - in /tomcat/tc7.0.x/trunk: ./ conf/catalina.policy webapps/docs/changelog.xml

2018-05-05 Thread kkolinko
Author: kkolinko Date: Sat May 5 16:31:26 2018 New Revision: 1830993 URL: http://svn.apache.org/viewvc?rev=1830993=rev Log: Fix http://bz.apache.org/bugzilla/show_bug.cgi?id=62350 Add the permission to read property org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE. Merged r1830992 from

svn commit: r1830992 - in /tomcat/tc8.0.x/trunk: ./ conf/catalina.policy webapps/docs/changelog.xml

2018-05-05 Thread kkolinko
Author: kkolinko Date: Sat May 5 16:28:28 2018 New Revision: 1830992 URL: http://svn.apache.org/viewvc?rev=1830992=rev Log: Fix http://bz.apache.org/bugzilla/show_bug.cgi?id=62350 Add the permission to read property org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE. Merged r1830991 from

svn commit: r1830991 - in /tomcat/tc8.5.x/trunk: ./ conf/catalina.policy webapps/docs/changelog.xml

2018-05-05 Thread kkolinko
Author: kkolinko Date: Sat May 5 16:22:45 2018 New Revision: 1830991 URL: http://svn.apache.org/viewvc?rev=1830991=rev Log: Fix http://bz.apache.org/bugzilla/show_bug.cgi?id=62350 Add the permission to read property org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE. Merged r1830989 from

svn commit: r1830989 - in /tomcat/trunk: conf/catalina.policy webapps/docs/changelog.xml

2018-05-05 Thread kkolinko
Author: kkolinko Date: Sat May 5 16:19:22 2018 New Revision: 1830989 URL: http://svn.apache.org/viewvc?rev=1830989=rev Log: Fix http://bz.apache.org/bugzilla/show_bug.cgi?id=62350 Add the permission to read property org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE. Modified:

[Bug 62350] AccessControlException: "org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE", "read"

2018-05-05 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62350 --- Comment #5 from Konstantin Kolinko --- (In reply to Remy Maucherat from comment #1) > From the comment in the policy, I don't remember why preloading > BodyContentImpl isn't enough for precompiled JSPs, but I

[Bug 62353] 7.0.87: java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String

2018-05-05 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62353 --- Comment #10 from Konstantin Kolinko --- (In reply to Mark Thomas from comment #9) > Patch applied. Docs updated. Will be in 7.0.88. Looks good. I amended the docs a bit. Several notes, for a record: 1. Looking

svn commit: r1830973 - /tomcat/tc7.0.x/trunk/RUNNING.txt

2018-05-05 Thread kkolinko
Author: kkolinko Date: Sat May 5 13:29:26 2018 New Revision: 1830973 URL: http://svn.apache.org/viewvc?rev=1830973=rev Log: Add note that Java 7 is required for Java WebSocket API. It is odd that this requirement has not been mentioned in RUNNING.txt, nor in RELEASE-NOTES. It is mentioned in

svn commit: r1830971 - in /tomcat/tc7.0.x/trunk: RELEASE-NOTES RUNNING.txt

2018-05-05 Thread kkolinko
Author: kkolinko Date: Sat May 5 13:05:54 2018 New Revision: 1830971 URL: http://svn.apache.org/viewvc?rev=1830971=rev Log: For https://bz.apache.org/bugzilla/show_bug.cgi?id=62353 Clarify the effect of using the wrong version of Common Annotations. Modified:

[Tomcat 8.5] : Calling [asyncError()] is not valid for a request with Async state [COMPLETING]

2018-05-05 Thread Anees Shaikh
Hi, I am using using *tomcat-embed-core-8.5.11*, with JDK 8, OS : Linux I am getting following error very frequently. Please can you help. ERROR [http-nio-auto-1-exec-6] o.a.c.c.CoyoteAdapter:181 : Exception while processing an asynchronous request java.lang.IllegalStateException: Calling