Browse Source

no point in a public ctor to a package scope class; mention other JVMs in the javadocs

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@498628 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 18 years ago
parent
commit
4f08eff5ea
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

@@ -70,10 +70,10 @@ class ProcessDestroyer implements Runnable {
* removing a process results in an empty list, the
* <code>ProcessDestroyer</code> is removed as a shutdown hook.
*/
public ProcessDestroyer() {
ProcessDestroyer() {
try {
// check to see if the shutdown hook methods exists
// (support pre-JDK 1.3 VMs)
// (support pre-JDK 1.3 and Non-Sun VMs)
Class[] paramTypes = {Thread.class};
addShutdownHookMethod =
Runtime.class.getMethod("addShutdownHook", paramTypes);


Loading…
Cancel
Save