harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess" <mark.hind...@googlemail.com>
Subject Re: unstable NPE in the archive module
Date Wed, 12 Apr 2006 14:14:31 GMT
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


Mime
View raw message