457696 - JMX implementation should not be overridden by WebApp classes
This commit is contained in:
parent
82870deef9
commit
2178824b17
|
@ -111,6 +111,7 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
|||
"javax.", // Java SE classes (per servlet spec v2.5 / SRV.9.7.2)
|
||||
"org.xml.", // needed by javax.xml
|
||||
"org.w3c.", // needed by javax.xml
|
||||
"org.eclipse.jetty.jmx.", // webapp cannot change jmx classes
|
||||
"org.eclipse.jetty.continuation.", // webapp cannot change continuation classes
|
||||
"org.eclipse.jetty.jndi.", // webapp cannot change naming classes
|
||||
"org.eclipse.jetty.jaas.", // webapp cannot change jaas classes
|
||||
|
@ -128,12 +129,13 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
|||
// it has to include them in its distribution.
|
||||
public final static String[] __dftServerClasses =
|
||||
{
|
||||
"-org.eclipse.jetty.jmx.", // don't hide jmx classes
|
||||
"-org.eclipse.jetty.continuation.", // don't hide continuation classes
|
||||
"-org.eclipse.jetty.jndi.", // don't hide naming classes
|
||||
"-org.eclipse.jetty.jaas.", // don't hide jaas classes
|
||||
"-org.eclipse.jetty.servlets.", // don't hide jetty servlets
|
||||
"-org.eclipse.jetty.servlet.DefaultServlet", // don't hide default servlet
|
||||
"-org.eclipse.jetty.jsp.", //don't hide jsp servlet
|
||||
"-org.eclipse.jetty.jsp.", //don't hide jsp servlet
|
||||
"-org.eclipse.jetty.servlet.listener.", // don't hide useful listeners
|
||||
"-org.eclipse.jetty.websocket.", // don't hide websocket classes from webapps (allow webapp to use ones from system classloader)
|
||||
"-org.eclipse.jetty.apache.", // don't hide jetty apache impls
|
||||
|
|
Loading…
Reference in New Issue