Index: common/java/awt/Font.java =================================================================== --- common/java/awt/Font.java (revision 448875) +++ common/java/awt/Font.java (working copy) @@ -560,6 +560,11 @@ public String getFamily(Locale l) { + + if (l == null){ + throw new NullPointerException(Messages.getString("awt.01", "Locale")); //$NON-NLS-1$ + } + FontPeerImpl peer = (FontPeerImpl)this.getPeer(); return peer.getFamily(l); }