#1048 jstub sys error

jessevdam Mon 29 Mar 2010

When I run jstub on the sys pod do I get the following error:

./jstub sys

Java Stub [sys]

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 65535

at fanx.fcode.FTable.get(FTable.java:44) at fanx.fcode.FPod.typeRef(FPod.java:58) at fanx.emit.FClassEmit.base(FClassEmit.java:41) at fanx.emit.FTypeEmit.emit(FTypeEmit.java:82) at fanx.emit.FTypeEmit.emit(FTypeEmit.java:57) at fan.sys.ClassType.emitToClassFiles(ClassType.java:644) at fanx.tools.Jstub.stub(Jstub.java:55) at fanx.tools.Jstub.run(Jstub.java:138) at fanx.tools.Jstub.main(Jstub.java:163)

brian Mon 29 Mar 2010

You can't jstub the sys pod because its essentially already jstubbed as sys.jar since its written in Java already. Might be nice to have a nicer error message though.

katox Mon 29 Mar 2010

Speaking of jstub could you please add jstub unix launcher? The one you posted a while ago works fine.

diff --git a/bin/jstub b/bin/jstub
new file mode 100755
index 0000000..a11e8ee
--- /dev/null
+++ b/bin/jstub
@@ -0,0 +1,3 @@
+#!/bin/bash
+. "${0%/*}/fanlaunch" 
+fanlaunch Jstub "$@"

brian Mon 29 Mar 2010

Speaking of jstub could you please add jstub unix launcher?

Done

Login or Signup to reply.