[kaffe] FileOutputStream error? [Part-1]

Nektarios K. Papadopoulos npapadop at inaccessnetworks.com
Thu Apr 15 04:10:02 PDT 2004


Hi,

I tried to post the following message yesterday, but it got held from 
the list due to size limitations until the list moderator can review it 
for approval.

I am resenting it in three pieces (debug-out.intrp and debug-out.jit3)
in following messages.
If this is not the rigth thing to do, please let me know and it will not
happen again.

=====================FileOutputStream error?  [Part-1]=================

Since (yesterday I think) the latest CVS code compiles OK, but two of
the regression tests (FileChecks and LoaderTest) that use to work now fail.
I am using both interpreter engine and jit3 engine
(see attached keffe -fullversion outputs).

With the jit3  all seem to be ok (make check reports PASS).
With the interpreter both fail.

The problem with FileChecks is corrected with the attached patch.
I think the patch is clean but I can't understand why it works with jit3?

In addition, I tried to tracked down the problem with LoaderTest.
In the case of interpreter the test blocks for a while and then it exits.

I run manualy the test classes using

kaffe  -vmdebug "RESERROR,VMCLASSLOADER" LoaderTest 2> debug-out.intrp
kaffe  -vmdebug "RESERROR,VMCLASSLOADER" LoaderTest 2> debug-out.jit3

As you can see in both the debug outputs (debug-out.intrp:Line 1695 and
debug-out.jit3:Line 1287) an attempt is made to load java.lang.Object
through LoaderTest_Loader1.
Then a call to LoaderTest.getClassBytes("java.lang.Object").
And finally a new FileInputStream("java.lang.Object.class").
In the case of jit3 a FileNotFound exception is raised but ignored
While in interpreter it actually tries to read the class from
filedescriptor 0. (I verified it by printf and by redirecting something
to the input of the above command).

I am not sure if the problem lies to kaffe or to the test class itself.

cheers
nek

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: intrp.config
Url: http://kaffe.org/pipermail/kaffe/attachments/20040415/da2c514d/attachment-0006.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_FileChecks.diff
Url: http://kaffe.org/pipermail/kaffe/attachments/20040415/da2c514d/attachment-0007.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jit3.config
Url: http://kaffe.org/pipermail/kaffe/attachments/20040415/da2c514d/attachment-0008.txt 


More information about the kaffe mailing list