diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor4/extensions/ControllersExtension.java b/vraptor-core/src/main/java/br/com/caelum/vraptor4/extensions/ControllersExtension.java
index <HASH>..<HASH> 100644
--- a/vraptor-core/src/main/java/br/com/caelum/vraptor4/extensions/ControllersExtension.java
+++ b/vraptor-core/src/main/java/br/com/caelum/vraptor4/extensions/ControllersExtension.java
@@ -21,7 +21,7 @@ public class ControllersExtension implements Extension{
 		if (Modifier.isAbstract(clazz.getModifiers())) return;
 
 		for (Annotation annotation : clazz.getAnnotations()) {
-			if (annotation.annotationType() == Controller.class 
+			if (annotation.annotationType().equals(Controller.class) 
 					|| annotation.annotationType().isAnnotationPresent(Controller.class)) {
 				controllers.add(clazz);
 			}
Using equals instead == operator