Update of /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29567/src/com/mebigfatguy/fbcontrib/detect
Modified Files:
ClassEnvy.java
Log Message:
don't be envious of common classes/interfaces
Index: ClassEnvy.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- ClassEnvy.java 18 Oct 2005 05:06:29 -0000 1.13
+++ ClassEnvy.java 19 Oct 2005 04:11:01 -0000 1.14
@@ -240,11 +240,6 @@
if (className.startsWith("java.") || className.startsWith("javax."))
return true;
-// Come back and fix this code, comment out for now
-// For some crazy reason, getAllInterfaces is throwing a ClassCastExceptions, trying to add
-// the second JavaClass to the TreeSet, because the compare apparently sees different kinds
-// of JavaClass objects. Is my ClassLoader screwed? wacky? I have no idea
- /*
try {
JavaClass cls = Repository.lookupClass(className);
JavaClass[] infs = cls.getAllInterfaces();
@@ -275,7 +270,7 @@
bugReporter.reportMissingClass(cfne);
return true;
}
-*/
+
return false;
}
|