From: Andres Corrada-E. <co...@ci...> - 2001-10-25 20:04:59
|
Hello, My problem has evolved to this thread. Let me recapitulate my intent: To create a Java class using Python code. The Python class subclasses from a class in some package "edu.umass.cs.ciir.metamorph". I compile the Python class to a .class file using jythonc with the package switch. The resultant .java file has the correct package declaration: package edu.umass.cs.ciir.metamorph; at the top of the file. My Python class tries to access a package-accesible super attribute but fails. If I make that attribute public it succeeds. This is unsatisfactory. I'm trying to use someone elses code and I cannot change the attribute properties. Can I still use Jython or do I need to abandon this line of approach and resign myself to having to program in Java directly? Andres Corrada-Emmanuel Senior Research Fellow Center for Intelligent Information Retrieval University of Massachusetts, Amherst |