+ ",org.apache.coyote."
+ ",org.apache.tomcat.";
+ // FIX ME package "javax." was removed to prevent HotSpot
+ // fatal internal errors
private static final String PACKAGE_DEFINITION= "java.,sun."
+ ",org.apache.catalina."
+ ",org.apache.coyote."
if (System.getSecurityManager() != null){
String definition = Security.getProperty(properties);
if( definition != null && definition.length() > 0 ){
- definition += ",";
+ if (packageList.length() > 0) {
+ definition = definition + ',' + packageList;
+ }
+ } else {
+ definition = packageList;
}
- Security.setProperty(properties,
- // FIX ME package "javax." was removed to prevent HotSpot
- // fatal internal errors
- definition + packageList);
+ Security.setProperty(properties, definition);
}
}
listeners and filters are stopped in a separate thread rather than the
current thread. Patch provided by Felix Schumacher. (markt)
</fix>
+ <fix>
+ <bug>51473</bug>: Fix concatenation of values in
+ <code>SecurityConfig.setSecurityProperty()</code>. (kkolinko)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">
</changelog>
</subsection>
</section>
-<section name="Tomcat 7.0.17 (markt)" rtext="released TBD">
+<section name="Tomcat 7.0.17 (markt)" rtext="not released">
<subsection name="Catalina">
<changelog>
<add>