geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanhongf...@apache.org
Subject svn commit: r1041303 - /geronimo/devtools/eclipse-plugin/branches/2.1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/GeronimoRuntimeDelegate.java
Date Thu, 02 Dec 2010 08:16:59 GMT
Author: hanhongfang
Date: Thu Dec  2 08:16:59 2010
New Revision: 1041303

URL: http://svn.apache.org/viewvc?rev=1041303&view=rev
Log:
GERONIMODEVTOOLS-683 GEP can not detect the Geronimo server version correctly

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/GeronimoRuntimeDelegate.java

Modified: geronimo/devtools/eclipse-plugin/branches/2.1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/GeronimoRuntimeDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/GeronimoRuntimeDelegate.java?rev=1041303&r1=1041302&r2=1041303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/GeronimoRuntimeDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/GeronimoRuntimeDelegate.java
Thu Dec  2 08:16:59 2010
@@ -238,7 +238,7 @@ abstract public class GeronimoRuntimeDel
         }
 
         if (systemjarURL != null) {
-        	JarFileClassLoader loader = new JarFileClassLoader(null,new URL[]{systemjarURL},this.getClass().getClassLoader());
+        	JarFileClassLoader loader = new JarFileClassLoader(null,new URL[]{systemjarURL},ClassLoader.getSystemClassLoader());
 			try {
 				Class clazz = loader.loadClass("org.apache.geronimo.system.serverinfo.ServerConstants");
 				Method method = clazz.getMethod("getVersion", new Class[] {});



Mime
View raw message