Issue1656633

classification
Title: Compiled jars with exec-statements in class body fail
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, kseron
Priority: normal Keywords:

Created on 2007-02-10.10:05:15 by kseron, last changed 2009-03-14.01:11:03 by fwierzbicki.

Files
File name Uploaded Description Edit Remove
test.py kseron, 2007-02-10.10:05:16 test case
Messages
msg1424 (view) Author: Ksero (kseron) Date: 2007-02-10.10:05:15
Jython 2.2a1 on java1.5.0_07

Compile and run the attached file with these commands:

jythonc --deep --core --jar test.jar test.py
java -jar test.jar

This produces the following output for me:
Exception in thread "main" Traceback (innermost last):
  File "C:\development\testcase\test.py", line 0, in main
  File "C:\development\testcase\test.py", line 0, in test
java.lang.NoClassDefFoundError: org/python/core/parser
        at org.python.core.Py.compile_flags(Py.java:1647)
        at org.python.core.Py.compile_flags(Py.java:1658)
        at org.python.core.Py.exec(Py.java:1201)
        at test$_PyInner.test$1(test.java:40)
        at test$_PyInner.call_function(test.java:31)
        at org.python.core.PyTableCode.call(PyTableCode.java:213)
        at org.python.core.PyTableCode.call(PyTableCode.java:426)
        at org.python.core.Py.makeClass(Py.java:1517)
        at org.python.core.Py.makeClass(Py.java:1484)
        at test$_PyInner.main$2(test.java:47)
        at test$_PyInner.call_function(test.java:33)
        at org.python.core.PyTableCode.call(PyTableCode.java:213)
        at org.python.core.PyCode.call(PyCode.java:14)
        at org.python.core.imp.createFromCode(imp.java:191)
        at org.python.core.Py.runMain(Py.java:856)
        at test.main(test.java:61)

java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: org/python/core/parser
msg4277 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-14.01:11:03
jythonc is no longer maintained.
History
Date User Action Args
2009-03-14 01:11:03fwierzbickisetstatus: open -> closed
resolution: wont fix
messages: + msg4277
nosy: + fwierzbicki
2007-02-10 10:05:15kseroncreate