--- old/modules/graphics/src/main/java/com/sun/javafx/font/PrismCompositeFontResource.java 2014-05-09 11:47:39.818039400 -0700 +++ new/modules/graphics/src/main/java/com/sun/javafx/font/PrismCompositeFontResource.java 2014-05-09 11:47:39.559014700 -0700 @@ -207,19 +207,11 @@ return false; } final PrismCompositeFontResource other = (PrismCompositeFontResource)obj; - - return primaryResource.getFullName().equals(other.getFullName()); + return primaryResource.equals(other.primaryResource); } - private int hash; @Override public int hashCode() { - if (hash != 0) { - return hash; - } - else { - hash = primaryResource.getFullName().hashCode(); - return hash; - } + return primaryResource.hashCode(); } }