JDK-8081741 : [Regression]Test closed/java/awt/font/LogicalFonts/MappingTest.java fails with UnsupportedCharsetException in Solaris Sparc
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2015-06-02
  • Updated: 2016-07-05
  • Resolved: 2016-07-05
Related Reports
Relates :  
Relates :  
Relates :  
Description
Test name(s):closed/java/awt/font/LogicalFonts/MappingTest.java 

JDK tested: 9b65, 9b64
OS tested: Solaris Sparcv9, Linux
Is it a regression? Yes( Started failing from 9b65)
Regression introduced in release/build:9b65
Is it platform specific? No
The is failure reproduced: always 
          
General description: 

----------System.out:(1/15)----------
os.name: SunOS
----------System.err:(19/1193)----------
java.nio.charset.UnsupportedCharsetException: sun.font.X11Dingbats
	at java.nio.charset.Charset.forName(Charset.java:531)
	at sun.awt.FontConfiguration.getFontCharsetEncoder(FontConfiguration.java:944)
	at sun.awt.FontConfiguration.buildFontDescriptors(FontConfiguration.java:901)
	at sun.awt.FontConfiguration.getFontDescriptors(FontConfiguration.java:864)
	at sun.awt.FontConfiguration.getFontDescriptors(FontConfiguration.java:856)
	at MappingTest.collectData(MappingTest.java:179)
	at MappingTest.main(MappingTest.java:111)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:502)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.nio.charset.UnsupportedCharsetException: sun.font.X11Dingbats
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.nio.charset.UnsupportedCharsetException: sun.font.X11Dingbats
Comments
We decided to delete this old test. See JDK-8160754 .
05-07-2016

It is a regression as test passes in 9b64 and fails in 9b65
02-06-2015

Machine to reproduce ; stt-73.ru.oracle.com User: gtee Pass: Gt33acct http://scaaa008.us.oracle.com:9502/runs/927799.ManualSubmit-1/workDir/closed/java/awt/font/LogicalFonts/MappingTest.jtr RULE closed/java/awt/font/LogicalFonts/MappingTest.java Exception java.nio.charset.UnsupportedCharsetException: sun.font.X11Dingbats
02-06-2015