Changed from int to string #getMessage

This commit is contained in:
JKetelaar
2014-12-24 23:47:50 +01:00
parent ea2074f146
commit a2d13b2fa9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ public interface Interface {
public int[] getStackSizes();
public int getMessage();
public String getMessage();
}
+2 -2
View File
@@ -1,5 +1,6 @@
package org.rev317.min.randoms;
import org.parabot.core.Context;
import org.parabot.core.Core;
import org.parabot.core.Directories;
import org.parabot.core.io.ProgressListener;
@@ -33,8 +34,7 @@ public class Executer {
try {
URL url = myJar.toURI().toURL();
URL[] urls = new URL[]{url};
// String server = Context.getInstance().getServerProviderInfo().getServerName();
String server = "pkhonor";
String server = Context.getInstance().getServerProviderInfo().getServerName();
URLClassLoader child = new URLClassLoader(urls, this.getClass().getClassLoader());
Class<?> classToLoad = Class.forName("org.parabot.randoms.Core", true, child);