From 384bf51a0656be5f89db9e0efc0c69264a94b919 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 24 Nov 2010 20:33:49 +0000 Subject: [PATCH] Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49650 Remove unnecessary entries package.access property defined in catalina.properties. Patch provided by Owen Farrell. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1038803 13f79535-47bb-0310-9956-ffa450edef68 --- conf/catalina.properties | 2 +- java/org/apache/catalina/startup/catalina.properties | 2 +- webapps/docs/changelog.xml | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/conf/catalina.properties b/conf/catalina.properties index 518f543eb..e43fd03dd 100644 --- a/conf/catalina.properties +++ b/conf/catalina.properties @@ -19,7 +19,7 @@ # passed to checkPackageAccess unless the # corresponding RuntimePermission ("accessClassInPackage."+package) has # been granted. -package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans. +package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper. # # List of comma-separated packages that start with or equal this string # will cause a security exception to be thrown when diff --git a/java/org/apache/catalina/startup/catalina.properties b/java/org/apache/catalina/startup/catalina.properties index 00d758a23..d226f8a5f 100644 --- a/java/org/apache/catalina/startup/catalina.properties +++ b/java/org/apache/catalina/startup/catalina.properties @@ -19,7 +19,7 @@ # passed to checkPackageAccess unless the # corresponding RuntimePermission ("accessClassInPackage."+package) has # been granted. -package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans. +package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper. # # List of comma-separated packages that start with or equal this string # will cause a security exception to be thrown when diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 1e0a771f5..e50e571c6 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -38,6 +38,14 @@
+ + + + 49650: Remove unnecessary entries package.access property + defined in catalina.properties. Patch provided by Owen Farrell. (markt) + + + -- 2.11.0