From 4f08eff5eadccf50d3a884e09c8efa792c8ad971 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Mon, 22 Jan 2007 14:51:35 +0000 Subject: [PATCH] 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 --- src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java b/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java index 56d13232f..c29b421ce 100644 --- a/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java +++ b/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java @@ -70,10 +70,10 @@ class ProcessDestroyer implements Runnable { * removing a process results in an empty list, the * ProcessDestroyer 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);