On 26.10.2012 21:41, Michaël Michaud wrote:
> Hi Ede,
>> Now it works in the latest snapshot
>> (Thanks to Ede!)
> Good job Ede.
> Can you briefly explain your fix, I had a quick look but am too lazy
> to try to understand. How a method of FeatureInstaller could call
> a method of FUTURE_FeatureInstaller ?
> 

dummy code:

class Parent{
 method work(param1){
  work(param1,param2)
 }
 method work(param1,param2){
 } 
}

class Child extends Parent{
 method work(param1,param2){
   super.work(param1)
 }
}

i assumed the problem was as simplified above: /FUTURE_FeatureInstaller/ 
extends /FeatureInstaller/ overrides method /work(param1,2)/ in a way that 
calls /work(param1)/ . unfortunately this one itself again ran the overloaded 
/work(param1,param2)/. result: loop until the stack is filled: error.

i didn't care to lookup the source of FUTURE_FeatureInstaller, so it may be 
different, but i implemented the fix and it obviously worked.

clear?.. ede

------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to