harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Do we want to be bug compatible? (was: Re: newbie to project-where to start from)
Date Sat, 18 Feb 2006 18:03:53 GMT
What is the goal of spec-compatibility for exceptions?

1. Existing applications that work well on Sun's Java might fail on Harmony.
2. Sun, once it discovers the bug, will most likely change the spec
rather then impl,
and we will have to return and fix our code

Thanks,
Mikhail

On 2/17/06, karan malhi <karan.malhi@gmail.com> wrote:
>
>
> Anton Avtamonov wrote:
>
> IMHO, when spec states some exception we should be spec-compatible.
>
> +1
>
>
> >On 2/17/06, Mikhail Loenko <mloenko@gmail.com> wrote:
> >
> >
> >>I agree with Tim that we should discuss on the dev list
> >>
> >>
> >
> >+1
> >
> >
> >
> >>Later we might want to have some roadmap once we find a number
> >>of similar issues
> >>
> >>At this point I think we might be compatible when RI throws
> >>wrong exceptions - for example it often mixes NPE and
> >>IllegalArgumentException
> >>
> >>
> >
> >Sometimes spec states IllegalArgumentException should be thrown, but
> >implementation produces NPE. I think that is because
> >IllegalArgumentException is missed in impl and algorithm just failed
> >somewhere...
> >IMHO, when spec states some exception we should be spec-compatible.
> >
> >--
> >Anton Avtamonov,
> >Intel Middleware Products Division
> >
> >
> >
>
> --
> Karan Singh
>
>

Mime
View raw message