From 9cdf8b046810e6c7c971b55254ccf8c030667f54 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 4 Apr 2017 09:18:37 -0700 Subject: [PATCH] Issue #1449 - Removing unused / broken __jvmLib reference --- .../eclipse/jetty/webapp/WebAppContext.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java index c408952b08f..f8deb94bcbb 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java @@ -61,7 +61,6 @@ import org.eclipse.jetty.servlet.ServletHandler; import org.eclipse.jetty.util.AttributesMap; import org.eclipse.jetty.util.Loader; import org.eclipse.jetty.util.MultiException; -import org.eclipse.jetty.util.TypeUtil; import org.eclipse.jetty.util.URIUtil; import org.eclipse.jetty.util.annotation.ManagedAttribute; import org.eclipse.jetty.util.annotation.ManagedObject; @@ -130,23 +129,6 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL "org.eclipse.jetty.servlets.PushSessionCacheFilter" //must be loaded by container classpath } ; - // Find the location of the JVM lib directory - public final static String __jvmlib; - static - { - String lib=null; - try - { - lib=TypeUtil.getLoadedFrom(System.class).getFile().getParentFile().toURI().toString(); - } - catch(Exception e) - { - LOG.warn(e); - lib=null; - } - __jvmlib=lib; - } - // Server classes are classes that are hidden from being // loaded by the web application using system classloader, // so if web application needs to load any of such classes,