-
Bug
-
Resolution: Duplicate
-
P2
-
8
-
x86
-
os_x
closed/java/awt/FontClass/HeadlessFont.java failed on macosx with jdk8 (checked with jdk8b30, jdk8b43, jdk8b53, passed with jdk7u8b04), log:
----------System.err:(31/1993)----------
java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
at sun.font.CFontManager.loadNativeDirFonts(Native Method)
at sun.font.CFontManager.registerFontsInDir(CFontManager.java:251)
at sun.font.SunFontManager$2.run(SunFontManager.java:424)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.SunFontManager.<init>(SunFontManager.java:375)
at sun.font.CFontManager.<init>(CFontManager.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:395)
at java.lang.Class.newInstance0(Class.java:368)
at java.lang.Class.newInstance(Class.java:320)
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.awt.Font.getFont2D(Font.java:491)
at java.awt.Font.getFontName(Font.java:1247)
at java.awt.Font.getFontName(Font.java:1229)
at HeadlessFont.main(HeadlessFont.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
result: Failed. Execution failed: `main' threw exception: java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
see comments for more details
----------System.err:(31/1993)----------
java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
at sun.font.CFontManager.loadNativeDirFonts(Native Method)
at sun.font.CFontManager.registerFontsInDir(CFontManager.java:251)
at sun.font.SunFontManager$2.run(SunFontManager.java:424)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.SunFontManager.<init>(SunFontManager.java:375)
at sun.font.CFontManager.<init>(CFontManager.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:395)
at java.lang.Class.newInstance0(Class.java:368)
at java.lang.Class.newInstance(Class.java:320)
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.awt.Font.getFont2D(Font.java:491)
at java.awt.Font.getFontName(Font.java:1247)
at java.awt.Font.getFontName(Font.java:1229)
at HeadlessFont.main(HeadlessFont.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
result: Failed. Execution failed: `main' threw exception: java.lang.UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
see comments for more details
- duplicates
-
JDK-8012629 java.lang.UnsatisfiedLinkError exception throw by getAllFonts() on MacOSX
- Resolved
- relates to
-
JDK-7124545 [macosx] UnsatisfiedLinkError: sun.font.CFontManager.loadNativeDirFonts(Ljava/lang/String;)V
- Closed