Re: org.apache.tools.ant.property.LocalProperties cannot be extended

2015-01-28 Thread Gan Dong
Thanks, Stefan. I've updated the bugzilla issue with my findings. Gan On Mon, Jan 26, 2015 at 5:23 PM, Stefan Bodewig wrote: > > On 2015-01-26, Gan Dong wrote: > >> I investigated into this problem in our user's environment, and found >> that it was using Ant-c

Re: org.apache.tools.ant.property.LocalProperties cannot be extended

2015-01-25 Thread Gan Dong
re would be a good way from Ant side to prevent such concurrent issue happens again. I mean, we can't stop users from writing custom tasks that can run tasks in a multithreading way. But can we improve LocalProperties and make it immune from such usage. Thanks, Gan On Tue, Jan 20, 2015 at 11:11 P

org.apache.tools.ant.property.LocalProperties cannot be extended

2015-01-14 Thread Gan Dong
Hi experts, Recently, I came across a problem in Ant and the solution seems to write a custom LocalProperties implementation to fix the issue. But I found that this class has a sole privet constructor which prevents me from sub-classing it: 55 /** 56 * Construct a new LocalProperties obj