-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
7
-
sparc
-
solaris
The following JCK tests fail due to this issue:
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/Colors/index.html#Primary
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/index.html#General
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/index.html#GetDerivedColor
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/index.html#Register
api/javax_swing/plaf/nimbus/NimbusStyle/index.html#General
On a Solaris Sparc machine Nimbus Look And Feel is completely unusable.
It just could not be instantiated.
The following:
import javax.swing.plaf.nimbus.NimbusLookAndFeel;
public class Test {
public static void main(String[] args) {
new NimbusLookAndFeel();
}
}
will cause NPE:
java.lang.NullPointerException
at sun.font.FontManager.getFontConfigFont(FontManager.java:3475)
at sun.font.FontManager.getFontConfigFUIR(FontManager.java:3595)
at javax.swing.plaf.nimbus.NimbusDefaults.<init>(NimbusDefaults.java:141)
at javax.swing.plaf.nimbus.NimbusLookAndFeel.<init>(NimbusLookAndFeel.java:95)
this problem is reported for JDK 7 b71
not reproducible with JDK7 b74
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/Colors/index.html#Primary
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/index.html#General
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/index.html#GetDerivedColor
api/javax_swing/plaf/nimbus/NimbusLookAndFeel/index.html#Register
api/javax_swing/plaf/nimbus/NimbusStyle/index.html#General
On a Solaris Sparc machine Nimbus Look And Feel is completely unusable.
It just could not be instantiated.
The following:
import javax.swing.plaf.nimbus.NimbusLookAndFeel;
public class Test {
public static void main(String[] args) {
new NimbusLookAndFeel();
}
}
will cause NPE:
java.lang.NullPointerException
at sun.font.FontManager.getFontConfigFont(FontManager.java:3475)
at sun.font.FontManager.getFontConfigFUIR(FontManager.java:3595)
at javax.swing.plaf.nimbus.NimbusDefaults.<init>(NimbusDefaults.java:141)
at javax.swing.plaf.nimbus.NimbusLookAndFeel.<init>(NimbusLookAndFeel.java:95)
this problem is reported for JDK 7 b71
not reproducible with JDK7 b74
- duplicates
-
JDK-6867603 sun.font.FontManager.getDefaultPlatformFont throws NPE in OpenJDK on Solaris 10 10/08
- Resolved