[kaffe] CVS kaffe (guilhem): Various fixes.
guilhem at kaffe.org
Sun Aug 31 22:44:02 PDT 2003
Timothy Stack wrote:
>>Date: 2003/08/31 17:16:47
>>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.
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...
More information about the kaffe