Update of /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20070/src/com/mebigfatguy/fbcontrib/detect
Modified Files:
ClassEnvy.java
Log Message:
count invokespecial as well
Index: ClassEnvy.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ClassEnvy.java 14 Oct 2005 06:34:35 -0000 1.9
+++ ClassEnvy.java 14 Oct 2005 07:13:17 -0000 1.10
@@ -139,7 +139,8 @@
try {
if ((seen == INVOKEVIRTUAL)
|| (seen == INVOKEINTERFACE)
- || (seen == INVOKESTATIC)) {
+ || (seen == INVOKESTATIC)
+ || (seen == INVOKESPECIAL)) {
String calledClass = getClassConstantOperand().replace('/', '.');
if (calledClass.startsWith("java.")
|| calledClass.startsWith("javax."))
|