bodewig 2004/06/01 06:33:25 Modified: src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH ProcessDestroyer.java Log: merge Revision Changes Path No revision No revision 1.11.2.7 +2 -2 ant/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java Index: ProcessDestroyer.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java,v retrieving revision 1.11.2.6 retrieving revision 1.11.2.7 diff -u -r1.11.2.6 -r1.11.2.7 --- ProcessDestroyer.java 1 Jun 2004 13:30:54 -0000 1.11.2.6 +++ ProcessDestroyer.java 1 Jun 2004 13:33:25 -0000 1.11.2.7 @@ -101,7 +101,7 @@ } catch (IllegalAccessException e) { e.printStackTrace(); } catch (InvocationTargetException e) { - Throwable t = e.getCause(); + Throwable t = e.getTargetException(); if (t != null && t.getClass() == IllegalStateException.class) { // shutdown already is in progress running = true; @@ -130,7 +130,7 @@ } catch (IllegalAccessException e) { e.printStackTrace(); } catch (InvocationTargetException e) { - Throwable t = e.getCause(); + Throwable t = e.getTargetException(); if (t != null && t.getClass() == IllegalStateException.class) { // shutdown already is in progress running = true;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]