Browse Source

JDK 1.3-

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276499 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
49c52d18de
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java View File

@@ -101,7 +101,7 @@ class ProcessDestroyer implements Runnable {
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
e.printStackTrace(); e.printStackTrace();
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {
Throwable t = e.getCause();
Throwable t = e.getTargetException();
if (t != null && t.getClass() == IllegalStateException.class) { if (t != null && t.getClass() == IllegalStateException.class) {
// shutdown already is in progress // shutdown already is in progress
running = true; running = true;
@@ -130,7 +130,7 @@ class ProcessDestroyer implements Runnable {
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
e.printStackTrace(); e.printStackTrace();
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {
Throwable t = e.getCause();
Throwable t = e.getTargetException();
if (t != null && t.getClass() == IllegalStateException.class) { if (t != null && t.getClass() == IllegalStateException.class) {
// shutdown already is in progress // shutdown already is in progress
running = true; running = true;


Loading…
Cancel
Save