[kaffe] CVS kaffe (guilhem): Various fixes.

Guilhem Lavaux guilhem at kaffe.org
Sun Aug 31 22:44:02 PDT 2003


Timothy Stack wrote:

>>PatchSet 4001 
>>Date: 2003/08/31 17:16:47
>>Author: guilhem
>>Branch: HEAD
>>Tag: (none) 
>>Log:
>>Various fixes.
>>
>>Noticeable changes:
>>Reimplementation of deleteOnExit (missing in classpath)
>>    
>>
>
>The test case for this is not checked in (DeleteFile.java).
>
>  
>
>>Removed SoInterrupt because it is wrong.
>>    
>>
>
>Why is it wrong?  Improving test cases is desired over removing them.
>
>tim
>  
>
SoInterrupt basically tests whether IO operations are interruptible. But 
this should never happen according to the
Java Spec and JDK 1.4.2 behaviour. What could be tested instead is 
whether the IO operation is not interruptible but
anyway that was not the objective of the test. In kaffe, IO operations 
were interruptible and that was also wrong, so
I fixed this at least for net receive operations. If someone (it could 
be me) has some spare time he can rewrite a new
test for that particular behaviour...

Cheers,
Guilhem.





More information about the kaffe mailing list