tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject [4/4] tomee git commit: No needed classpath override
Date Tue, 04 Dec 2018 21:29:56 GMT
No needed classpath override


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/01fb28e1
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/01fb28e1
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/01fb28e1

Branch: refs/heads/tomee-7.1.x
Commit: 01fb28e1a50c5f5e6e56884c34652b1b562f3573
Parents: 6166f67
Author: Daniel Cunha (soro) <danielsoro@apache.org>
Authored: Tue Dec 4 07:06:55 2018 -0300
Committer: Daniel Cunha (soro) <danielsoro@apache.org>
Committed: Tue Dec 4 14:09:27 2018 -0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/openejb/cli/Bootstrap.java       | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/01fb28e1/container/openejb-core/src/main/java/org/apache/openejb/cli/Bootstrap.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/cli/Bootstrap.java b/container/openejb-core/src/main/java/org/apache/openejb/cli/Bootstrap.java
index 0b9f26c..2bb4a01 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/cli/Bootstrap.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/cli/Bootstrap.java
@@ -153,13 +153,6 @@ public class Bootstrap {
         try (final URLClassLoader loader = setupClasspath()) {
             setupHome(args);
 
-            if (loader != null) {
-                Thread.currentThread().setContextClassLoader(loader);
-                if (loader != ClassLoader.getSystemClassLoader()) {
-                    System.setProperty("openejb.classloader.first.disallow-system-loading",
"true");
-                }
-            }
-
             final Class<?> clazz = (loader == null ? Bootstrap.class.getClassLoader()
: loader).loadClass(OPENEJB_CLI_MAIN_CLASS_NAME);
 
             final Object main = clazz.getConstructor().newInstance();


Mime
View raw message