477641 ALPN classes exposed to webapps
This commit is contained in:
parent
5300f0c7f7
commit
3401d1382a
|
@ -110,6 +110,8 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
|||
// System classes are classes that cannot be replaced by
|
||||
// the web application, and they are *always* loaded via
|
||||
// system classloader.
|
||||
// TODO This centrally managed list of features that are exposed/hidden needs to be replaced
|
||||
// with a more automatic distributed mechanism
|
||||
public final static String[] __dftSystemClasses =
|
||||
{
|
||||
"java.", // Java SE classes (per servlet spec v2.5 / SRV.9.7.2)
|
||||
|
@ -132,6 +134,8 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
|||
// loaded by the web application using system classloader,
|
||||
// so if web application needs to load any of such classes,
|
||||
// it has to include them in its distribution.
|
||||
// TODO This centrally managed list of features that are exposed/hidden needs to be replaced
|
||||
// with a more automatic distributed mechanism
|
||||
public final static String[] __dftServerClasses =
|
||||
{
|
||||
"-org.eclipse.jetty.jmx.", // don't hide jmx classes
|
||||
|
@ -146,6 +150,7 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
|||
"-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
|
||||
"-org.eclipse.jetty.util.log.", // don't hide server log
|
||||
"-org.eclipse.ketty.alpn.", // don't hide ALPN
|
||||
"org.objectweb.asm.", // hide asm used by jetty
|
||||
"org.eclipse.jdt.", // hide jdt used by jetty
|
||||
"org.eclipse.jetty." // hide other jetty classes
|
||||
|
|
Loading…
Reference in New Issue