jdk/test/sun/tools/jps/jps-l_Output1.awk
changeset 12200 d935c2f4aeae
parent 2 90ce3da70b43
child 14329 01f78346929c
--- a/jdk/test/sun/tools/jps/jps-l_Output1.awk	Tue Mar 20 19:12:21 2012 +0800
+++ b/jdk/test/sun/tools/jps/jps-l_Output1.awk	Tue Mar 20 12:48:48 2012 +0100
@@ -20,6 +20,11 @@
 	    matched++;
 	}
 
+# or match an empty class name
+/^[0-9]+ $/	{
+	    matched++;
+	}
+
 	{ totallines++; print $0 }
 
 END	{