From: Samuele P. <ped...@bl...> - 2001-11-28 00:17:04
|
[dman] > On Tue, Nov 27, 2001 at 05:43:48PM -0600, Peter Brinkmann wrote: > | > | Hi! > | > | On Tue, Nov 27, 2001 at 06:23:08PM -0500, dman wrote: > | > I have now isolated the exact conditions which cause this problem. If > | > the python class name is the same as the module name, and it is in a > | > python package, then the problem occurs. > | > | This sounds awfully familiar. I submitted a similar bug report > | (jython-Bugs-451746) a while ago, and Samuele Pedroni has since > | fixed it. > > It looks like you are reporting a different manifestation of the same > bug (it appears that 2.1a3 ends up overwriting the module class with > the class class or something similar). > > Samuele already responded saying he followed my instructions (he didn't have > my example source) but couldn't reproduce it with the CVS version of > jython. > > > [in repsonse to my post] > The report submission was successful, though the example attachment > wasn't. I added a comment to my report with a URL to retrieve the > example source from. > After a )renaming package to pkg (package is a Java keyword !) b) jythonc -deep ... c) import PythonClass changed in import pkg.PythonClass in Main.java d) compiling Main.java ;-) C:\exp\jc3\example>java -Dpython.home=\jython -classpath \jython;jpywork;. Main hello world done So I will close the bug. regards, Samuele. |