ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r498628 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java
Date Mon, 22 Jan 2007 14:51:36 GMT
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


Mime
View raw message