ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: cvs commit: ant/src/main/org/apache/tools/ant/launch Launcher.java
Date Wed, 08 Sep 2004 11:12:38 GMT
Stefan Bodewig wrote:

>On 8 Sep 2004, <peterreilly@apache.org> wrote:
>
>  
>
>>  Root cause of InstantiationException may be null in
>>  class.newInstance()
>>    
>>
>
>This must be in there for quite some time now, but
>InstantiationException#getCause doesn't exist in JDK 1.3- and there is
>no alternative either.
>  
>
No,
   It has been added recently in an attempt to get the root cause
  for the InstantiationException.

For the cause in point (old ant.jar in the Classpath) the cause was null 
- so
it was not any good!

So that change should be reverted.

Peter

>We need to use reflection to get it.
>
>Stefan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message