Also, you might be able to get away with extending (rather than
patching) the TurbineIntakeService and using your custom
implementation (set via TurbineResources.properties).

Dan


John McNally <[EMAIL PROTECTED]> writes:

> If you come up with a good patch, I would include it in Intake, so it
> will work with jdk1.2.  But I expect it to be a lot of work.
>
> An alternative is to patch Object.vm in torque to not add the overloaded
> method.
>
> Filippos Slavik wrote:
> > 
>> PropertyDescriptor (PD) in 1.2.2 is buggy. I did some source checking, and
>> I discovered that the PD in 1.2.2 assumes that for a given property there
>> is one setter and one getter. On the other hand, PD in 1.3.x has the
>> correct logic. It assumes that for a given property there should be at
>> least one getter and there might be multiple getters. It then first tries
>> to find the qualified getter, learns the return type of the getter and
>> therefore the data type of the property and then it searches the class  for
>> a setter with one argument of the given data type.
>> 
>> Anyway, the behaviour of PD in 1.3.x is correct, BUT that means that the
>> current implementation of TurbineIntakeService is working properly only
>> with 1.3.x JRE's. I think that this should, from now, be somewhere stated
>> ... perhaps in the Intake HOWTO.
>> 
>> As for me, since my project is 1.2.2 based and I can't upgrade to a newer
>> JRE due to some restrictions I have to patch the TurbineIntakeService :(

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to