Stefan Bodewig wrote:
On 8 Sep 2004, <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]