|
From: Alexandre Petit-B. <apb...@cy...> - 2001-10-18 03:29:51
|
OK. With a bit of help from hacking our runtime and trying things out, I found out that if I have in my local directory all the files found in Lib *and* a symlink called `java' pointing to the `java' directory containing the class files hierarchy resulting from the build of our clean-room Java run time, I can run testall.py. There's something wrong with the way things are searched (if you have insight on where in the code this is done, it would be cool -- I just started to read PySystemState.java.) so I'm guessing our runtime doesn't setup the same environment than a regular interpreter. It also transpires in our VM (gij), since it runs things if the `java' symlink is made (no needs for local copies of the *.py in that case.) On the good side of things, testall reports good results. It crashed in serialization because of bug in our runtime error most likely. And then there where some other tests that I had to disable (for example, exit doesn't behave the same way) but otherwise it brought me fairly quickly to getting the same crash that I got with the install JDK based version (ImportError: No module named AnonInner.) Soon I hope to be able to hack the hooks to run the native compiler on jython generated classes. ./A |