tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1513579 - /tomee/tomee/trunk/server/openejb-common-cli/src/main/java/org/apache/openejb/server/cli/CliRunnable.java
Date Tue, 13 Aug 2013 16:24:42 GMT
Author: dblevins
Date: Tue Aug 13 16:24:42 2013
New Revision: 1513579

URL: http://svn.apache.org/r1513579
Log:
Use filtering.
XBEAN-247 - Better JVM Filtering for OSX

Modified:
    tomee/tomee/trunk/server/openejb-common-cli/src/main/java/org/apache/openejb/server/cli/CliRunnable.java

Modified: tomee/tomee/trunk/server/openejb-common-cli/src/main/java/org/apache/openejb/server/cli/CliRunnable.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/server/openejb-common-cli/src/main/java/org/apache/openejb/server/cli/CliRunnable.java?rev=1513579&r1=1513578&r2=1513579&view=diff
==============================================================================
--- tomee/tomee/trunk/server/openejb-common-cli/src/main/java/org/apache/openejb/server/cli/CliRunnable.java
(original)
+++ tomee/tomee/trunk/server/openejb-common-cli/src/main/java/org/apache/openejb/server/cli/CliRunnable.java
Tue Aug 13 16:24:42 2013
@@ -84,7 +84,7 @@ public class CliRunnable implements Runn
 
         final ClassLoader loader = CliRunnable.class.getClassLoader();
         try {
-            UrlSet urlSet = new UrlSet(loader);
+            UrlSet urlSet = new UrlSet(loader).excludeJvm();
             urlSet = urlSet.exclude(loader.getParent());
 
             final IAnnotationFinder finder = new AnnotationFinder(new ConfigurableClasspathArchive(new
ConfigurableClasspathArchive.FakeModule(loader, Collections.EMPTY_MAP), true, urlSet.getUrls()));



Mime
View raw message