You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2007/01/22 15:51:36 UTC

svn commit: r498628 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java

Author: stevel
Date: Mon Jan 22 06:51:35 2007
New Revision: 498628

URL: http://svn.apache.org/viewvc?view=rev&rev=498628
Log:
no point in a public ctor to a package scope class; mention other JVMs in the javadocs

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java?view=diff&rev=498628&r1=498627&r2=498628
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java Mon Jan 22 06:51:35 2007
@@ -70,10 +70,10 @@
      * 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);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org