From: Peter B. <bri...@ma...> - 2001-08-10 02:41:16
|
Hi! I installed jython-2.1a3 in order to get the bug fix for the os package. The package os works fine now, but I've discovered a new problem, this time related to jythonc 2.1a3. Here's what I get when compiling a rather large project with jythonc 2.0: jythonc --package pbj.jpy --jar pbjmin.jar --deep --all \ --addpackages pbj,gnu --workdir . pbjp/pbjapp.py processing pbjapp [...] Creating .java files: [...] GUIFactory module TDialog extends QDialog QDialog extends java.awt.Dialog FDialog extends java.awt.FileDialog [...] Here's what I get when compiling the same project with jythonc 2.1a3: /usr/local/jython-2.1a3/jythonc --package pbj.jpy --jar pbjmin.jar \ --deep --all --addpackages pbj,gnu --workdir . pbjp/pbjapp.py processing pbjapp [...] GUIFactory module TDialog extends pbj.jpy.pbj.jpy.GUIFactory.QDialog QDialog extends java.awt.Dialog FDialog extends java.awt.FileDialog [...] Compiling .java to .class... [...] 1 ././pbj/jpy/GUIFactory.java:731: Superclass pbj.jpy.pbj.jpy.GUIFactory.QDialog of nested class pbj.jpy.GUIFactory. TDialog not found. public static class TDialog extends pbj.jpy.pbj.jpy.GUIFactory.QDialog implements org.python.core.PyProxy, org.python.core.ClassDictInit { ^ Note: 4 files use or override a deprecated API. Recompile with "-deprecation" for details. 1 error, 1 warning ERROR DURING JAVA COMPILATION... EXITING The problem is the line 'TDialog extends pbj.jpy.pbj.jpy.GUIFactory.QDialog'. I haven't tried to reproduce the problem with a small amount of code. For the time being I've fixed it by simply reverting to jython-2.0. Best, Peter |