import eclipse 3.1 M4 compiler
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / ast / QualifiedSuperReference.java
index 592c433..67e95fc 100644 (file)
@@ -44,7 +44,7 @@ public class QualifiedSuperReference extends QualifiedThisReference {
                if (currentCompatibleType == null)
                        return null; // error case
 
-               if (currentCompatibleType.id == T_Object) {
+               if (currentCompatibleType.id == T_JavaLangObject) {
                        scope.problemReporter().cannotUseSuperInJavaLangObject(this);
                        return null;
                }