Hi, All! Fix for " org.apache.harmony.nio.tests.java.nio.channels.FileLockInterruptionExceptionTest" failure are avaliable in https://issues.apache.org/jira/browse/HARMONY-4017
The problem was not related to URLClassLoader. URLClassLoader only opened the problem. First of all I should note thate FileLockInterruptionExceptionTest wasn't failed in separate run. This failure was only in run of all tests. When we read from InputStream with "read" method the only way to understand that we got EOF is getting "-1" as return value for "read". "hyfile_read" set "the last hyerror value" when some IO falure occures. But "hyfile_read" doesn't clean "the last hyerror value" after succesfull IO operations. And return value of "hyfile_read" is "-1" both for failed IO operation and getting OEF. Some test with errors was run before FileLockInterruptionExceptionTest. And then we tried to read FileLockInterruptionExceptionTest.class file. read it. and got "-1" for OEF but this "-1" was treated as errors, because "the last hyerror value" was not empty. And it is an example to "even number of bugs" theory. :) On 5/31/07, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
We are investigating the situation and hope to get a fix in couple of hours... 2007/5/31, Tim Ellison <[EMAIL PROTECTED]>: > Alexey Petrenko wrote: > > Yep, it fails on my side too... Strange... > > > > I can not simply revert it too. I'll try to fix the issue or revert the > > patch. > > If you can't fix it easily then I suggest you roll back both patches for > now. > > Regards, > Tim >
-- Best regards, --- Sergey Kuksenko. Intel Enterprise Solutions Software Division.
