diff --git a/jsf-ri/src/com/sun/faces/facelets/tag/AbstractTagLibrary.java b/jsf-ri/src/com/sun/faces/facelets/tag/AbstractTagLibrary.java
index d92e3de..fb93ede 100644
--- a/jsf-ri/src/com/sun/faces/facelets/tag/AbstractTagLibrary.java
+++ b/jsf-ri/src/com/sun/faces/facelets/tag/AbstractTagLibrary.java
@@ -716,7 +716,11 @@ public abstract class AbstractTagLibrary implements TagLibrary {
      * @see java.lang.Object#hashCode()
      */
     public int hashCode() {
-        return this.namespace.hashCode();
+        int hashCode = this.namespace.hashCode();
+        hashCode = 37 * hashCode + this.factories.hashCode();
+        hashCode = 37 * hashCode + this.functions.hashCode();
+
+        return hashCode;
     }
 
     public String getNamespace() {