IMHO discuss on the mailing list is always a good option, I just
wouldn't expect any discussion around items that work in the RI the way
they are described in the spec :-) we just do those!

Where there is some discrepancy or question, I see no problem with
people giving a heads up to their decisions (and noting such in
documentation):

To pick a random example:

"I read the spec and it says that java.nio.Buffer#clear() always
discards the mark, but my tests on the RI show it doesn't.  Makes sense
to me that it should discard mark, so I'm going to do that"

or

"I found that FooBarPopularApp depends on the mark being kept even
though the data is invalid! so I'm going to do that <sigh>."

or

"I don't know what makes sense here.  What do people think?"

You get the idea.  The point being that the spec should be our first
port of call, with the RI filling in the blanks, and mailing list
consensus being the arbiter of any non-trivial decisions.

However, the nature of these discrepancies is that there are no concrete
rules for when things must come to the list, we rely on the quality of
our contributors and committers to do the right thing.  Running popular
apps and ultimately the JCK is the stick that people can beat us with.

Regards,
Tim


Anton Avtamonov wrote:
> Hi Tim,
> 
> May I ask for minor clarification just to make sure (looks like it is
> not fully covered here).
> 
> In case the spec definitely says something which is not true for RI we should:
> - base on spec
> - base on RI
> - discuss in the mailing list
> 
> I think that is the very core question which we cannot agree on.
> 
> 
> On 4/26/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
>> What I'm trying to convey is:
>>
>> 1) We should be doing spec-driven development, not development based on
>> probing the behavior of any particular implementation of the spec  (even
>> the RI).
>>
>> I believe this is in best keeping with the spirit of Sun's intent for
>> independent implementations of Java.
>>
>> 2) Since we know from experience that the spec leaves many questions
>> unanswered, we should use the RI of the spec to resolve those questions
>> using the public published interfaces to the RI.  Typically this will
>> mean running a test, written to public APIs, and observing the result.
>>
>> 3) Compatibility with existing implementations is very important to us,
>> therefore we will run our tests written based on the spec against both
>> our implementation and the RI (and possibly other implementations) to
>> ensure we behave in the established way.
>>
>> Where there are anomalies or inconsistencies in the way the spec
>> describes how things should work, how they work in the RI, or how they
>> work in accepted implementations, then we discuss, decide, and document
>> the chosen solution for Harmony.
>>
>> Regards,
>> Tim
>>
>>
>> Anton Avtamonov wrote:
>>> On 4/25/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote:
>>>> Anton Avtamonov wrote:
>>>>> On 4/25/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
>>>>>> Anton Avtamonov wrote:
>>>>>>> Tim, that is excellent! Thank you.
>>>>>>>
>>>>>>> I have couple of minor questions:
>>>>>>>
>>>>>>> Am I right with interpretation that the primary "source" is the spec
>>>>>>> rather than RI behavior? If the spec is consistent and logical, but
>>>>>>> contradicts to the RI behavior we are basing on spec? I'm asking just
>>>>>>> because that caused lots of debates last time and I want to make sure
>>>>>>> everyone agreed with this statement now.
>>>>>> That's what I thought we agreed.  If the guide does not make that clear
>>>>>> then I am happy to clarify.
>>>>> Guidelines clearly mentioned that. I could not recall if everyone was
>>>>> agree or not :-).
>>>>> As I remember there were lots of people who proposed to base on RI
>>>>> behavior only (to be as much comatible as possible).
>>>>>
>>>>> Personally I'm completely agree with guidelines approach.
>>>> The problem is that in the real world, we're going to have trouble
>>>> defending why everyone else is wrong, and we are correct.
>>>>
>>>> This is why I'd like to discuss and be able to go w/ RI behavior, and in
>>>> either case, WRITE EVERYTHING DOWN so that for diversions from the RI we
>>>> can make it easy for users to see why their code breaks on Harmony when
>>>> it runs everywhere else and for diversions from spec, we can eventually
>>>> come back after some time when we have achieved World Dominance(tm) and
>>>> fix them...
>>> I see I was right that we didn't have an agreement :-)
>>>
>>> Geir, I completely understood you point and even agree with you. My
>>> idea (and I believe Tim's guidelines support it) was to avoid copying
>>> of definite RI bugs. Just because I believe that there are no (or
>>> almost no) applications which are based on something which is
>>> definitely bug, not feature.
>>>
>>> However your proposal just to be as good as RI does for now, 'mark'
>>> all problems and revise them later definitely makes sense.
>>>
>>> Let's say I'm neutral and wait for others opinions.
>>>
>>> I'm sure that this is very key question and we have to achieve an
>>> agreement here.
>>>
>>> Wishes,
>>> --
>>> Anton Avtamonov,
>>> Intel Middleware Products Division
>>>
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> --
>>
>> Tim Ellison ([EMAIL PROTECTED])
>> IBM Java technology centre, UK.
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> --
> Anton Avtamonov,
> Intel Middleware Products Division
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to