Message8299

Author zyasoft
Recipients zyasoft
Date 2014-04-22.20:50:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398199823.88.0.708904384843.issue2129@psf.upfronthosting.co.za>
In-reply-to
Content
Jython currently has 0.7 of the Jar Jar Links jar in extlibs. This should be upgraded to 1.4 to fix this VerifyError when run with the jarjar-ed version and corresponds to this problem: http://markmail.org/message/x22em42wpeq6xnth#mid:ydjlpwqitf3awziy


Here's how to reproduce. Move dist/jython-dev.jar out of the way (that works fine), this will produce the following command line for jython --print:

java -Xmx512m -Xss1024k -Dfile.encoding=UTF-8 -classpath dist/jython-standalone.jar -Dpython.home=dist -Dpython.executable=dist/bin/jython org.python.util.jython

Running this results in the following error:

$ java -Xmx512m -Xss1024k -Dfile.encoding=UTF-8 -classpath dist/jython-standalone.jar -Dpython.home=dist -Dpython.executable=dist/bin/jython org.python.util.jython
Exception in thread "main" java.lang.VerifyError: Stack map does not match the one at exception handler 63 in method org.python.core.PyObject.proxyInit()V at offset 52
    at org.python.util.jython.run(jython.java:213)
    at org.python.util.jython.main(jython.java:145)

This means it's not a problem in how we build Jython core, it’s a problem in how we package it, specifically in the Jar Jar Links task, which is used to bundle all dependencies under the org.python namespace.

So Jar Jar Links should be upgraded to 1.4.
History
Date User Action Args
2014-04-22 20:50:23zyasoftsetrecipients: + zyasoft
2014-04-22 20:50:23zyasoftsetmessageid: <1398199823.88.0.708904384843.issue2129@psf.upfronthosting.co.za>
2014-04-22 20:50:23zyasoftlinkissue2129 messages
2014-04-22 20:50:23zyasoftcreate