Sorry, you seems to be dancing around the "optional" vs "mandatory" terms here. 
I lost a few hours to figure it out that was the root cause of a problem I ran 
into. 

By my knowledge, we already had support for the allowsPassByReference 
optimization for the service side (the reference side came into the spec at 
later time) before the code was disabled. The feature (even it is optional for 
the spec compliance) is important to the use cases I have because we don't want 
to copy several MBs data. IMHO, Tuscany is not purely just a reference 
implementation of the SCA specs. 

Anyway, I'm enabling the optimization for both reference and service sides. 

Thanks,
Raymond 
________________________________________________________________ 
Raymond Feng
rf...@apache.org
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________

On Feb 1, 2011, at 4:07 PM, ant elder wrote:

> On Tue, Feb 1, 2011 at 11:46 PM, Luciano Resende <luckbr1...@gmail.com> wrote:
>> On Tue, Feb 1, 2011 at 3:07 PM, Mike Edwards
>> <mike.edwards.inglen...@gmail.com> wrote:
>>> On 01/02/2011 22:53, Raymond Feng wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> I would rather that we "ignore" the failing test cases with JIRA
>>>> tickets so that we won't forget to fix it.
>>> 
>>> Raymond,
>>> 
>>> On that point, at this stage, I totally disagree.
>>> 
>>> Fix the function so that it passes the tests BEFORE putting it back in.
>>> 
>> 
>> +1, I believe this exactly what Raymond said.
>> 
>>> I will be very disappointed if I find more OASIS conformance tests
>>> failing...
>>> 
>>> 
>> 
>> To this matter, if we disable a functionality in the runtime, to
>> "fake" a conformace test is passing is NO good either.
>> 
> 
> Did you two get out of the wrong side of your beds today?
> 
> The runtime is not "faking" any conformance test passing its doing it
> quite correctly as per section 2.3.4 of the Java CAA specification.
> Optimizing remotable calls marked with allows-pass-by-reference is an
> optional feature and its quite valid to not do any optimization in
> some/any circumstances. I agree with Mike that its much more important
> for Tuscany to maintain conformance with the mandatory features of the
> specs and keep the compliance tests passing. If you want to enhance
> the allows-pass-by-reference optimization support thats terrific too.
> 
>   ...ant

Reply via email to