Package: plm / 2.6+repack-3

jython-fixes Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- The detection of jruby fails on Debian (the searched class is not
  there), but the functionality is working, so disable that detection

---
 src/plm/core/model/Game.java                  |    6 
 src/plm/universe/bugglequest/BuggleWorld.java | 1102 +++++++++++++-------------
 2 files changed, 554 insertions(+), 554 deletions(-)

Index: b/src/plm/core/model/Game.java
===================================================================
--- a/src/plm/core/model/Game.java
+++ b/src/plm/core/model/Game.java
@@ -268,11 +268,9 @@ public class Game implements IWorldView
 	String pythonError = "";
 	private boolean checkPython() {
 		String[] resources = new String[] {
-				"/org/python/jsr223/PyScriptEngineFactory", "/org/jruby/ext/posix/util/Platform","/org/antlr/runtime/CharStream",
-				"/org/objectweb/asm/Opcodes"
+				"/org/python/jsr223/PyScriptEngineFactory"
 		};
-		String[] hints     = new String[] {"jython.jar", "jruby.jar","antlr3-runtime.jar",
-		"asm3.jar"};
+		String[] hints     = new String[] {"jython.jar"};
 		for (int i=0;i<resources.length;i++) {
 			pythonError = canResolve(resources[i],hints[i]);
 			if (!pythonError.isEmpty()) {