harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Harley <george.c.har...@googlemail.com>
Subject Re: unstable NPE in the archive module
Date Wed, 12 Apr 2006 14:37:42 GMT
Hi Mikhail,

Currently the tests for java.io.File are not enabled. I have fixed that 
locally and can see that there is a test already for this situation but 
the test itself is wrong since it expects the IOException to be thrown. 
I was just about to re-enable the File tests.

I guess I am saying : I am happy to take care of the test part of this 
problem.

Best regards,
George


Mikhail Loenko wrote:
> OK, I'll fix and submit a test.
>
> 2006/4/12, Mark Hindess <mark.hindess@googlemail.com>:
>   
>> Yes.  That looks correct and matchs the RI behaviour for the case when
>> the file exists and is a directory.
>>
>> -Mark.
>>
>>
>> On 4/12/06, Mikhail Loenko <mloenko@gmail.com> wrote:
>>     
>>> I'd replace
>>> case 1:
>>>         return false;
>>> case 3:
>>>         throw new IOException(org.apache.harmony.luni.util.Msg.getString("K01c1"));
>>> //$NON-NLS-1$
>>>
>>>
>>> with
>>> case 1:
>>> case 3:
>>>         return false;
>>>
>>>
>>>
>>> 2006/4/12, George Harley <george.c.harley@googlemail.com>:
>>>       
>>>> Thanks :-)
>>>>
>>>> Mikhail Loenko wrote:
>>>>         
>>>>> WinXP
>>>>>
>>>>> 2006/4/12, George Harley <george.c.harley@googlemail.com>:
>>>>>
>>>>>           
>>>>>> Hi Mikhail,
>>>>>>
>>>>>> What platform(s) are you seeing this on ?
>>>>>>
>>>>>> Best regards,
>>>>>> George
>>>>>>
>>>>>>
>>>>>> Mikhail Loenko wrote:
>>>>>>
>>>>>>             
>>>>>>> I'm seeing test errors in the archive module. I've heard that
Stepan have seen
>>>>>>> similar ones today in the morning.
>>>>>>>
>>>>>>> The errors are unstable: Stepan could not reproduce it and I
did not see them
>>>>>>> previous time. So here they are:
>>>>>>>
>>>>>>> Class tests.api.java.util.jar.ManifestTest
>>>>>>>
>>>>>>> all tests error with:
>>>>>>>
>>>>>>> N/A
>>>>>>>
>>>>>>> java.lang.NullPointerException at
>>>>>>> tests.support.resource.Support_Resources.createTempFolder(Support_Resources.java:73)
>>>>>>> at tests.api.java.util.jar.ManifestTest.setUp(ManifestTest.java:167)
>>>>>>>
>>>>>>>
>>>>>>> Class tests.api.java.util.jar.JarInputStreamTest
>>>>>>> 9 tests error with
>>>>>>>
>>>>>>> N/A
>>>>>>>
>>>>>>> java.lang.NullPointerException at
>>>>>>> tests.support.resource.Support_Resources.createTempFolder(Support_Resources.java:73)
>>>>>>> at tests.support.resource.Support_Resources.getURL(Support_Resources.java:42)
>>>>>>> at tests.api.java.util.jar.JarInputStreamTest.setUp(JarInputStreamTest.java:352)
>>>>>>>
>>>>>>> Ideas?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Mikhail
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>>>>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>>>>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>> ---------------------------------------------------------------------
>>>>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>>>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>>>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>> ---------------------------------------------------------------------
>>>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> ---------------------------------------------------------------------
>>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>>
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>>>       
>> --
>> Mark Hindess <mark.hindess@googlemail.com>
>> IBM Java Technology Centre, UK.
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>   


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message