JDK-6266858 : Regression: java/awt/font/LogicalFonts/MappingTest.java failed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-06
  • Updated: 2010-04-08
  • Resolved: 2005-10-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b40Fixed
Related Reports
Relates :  
Relates :  
Description
Regression: java/awt/font/LogicalFonts/MappingTest.java failed in mustang promotion build b35

Note:
1. The test failed in RH AS 3, Sol. Sparc 10, but passed in Windows XP and Win 2003
2. The same test passed in promotion build b34
3. Locale tested: ja, zh_CN, one of the failed jtr can be found at
http://sqeweb/i18n/nightly-results/mustang/i18n_reg_60-i18n_Reg_Sol_10_JDS_ja-en-2005-05-06-03-19-22-0781/failed.html

----------messages:(3/117)----------
command: main MappingTest
reason: User specified action: run main/othervm MappingTest 
elapsed time (seconds): 2.534
----------System.out:(241/7904)----------
Read golden data from /net/sqesvr-nfs.sfbay/global/nfs/test_run/i18n-dtf/knight_ws/suites/i18n_reg_60/test/java/awt/font/LogicalFonts/mapping.Solaris.5.10.x-eucJP-Open
awt.serif.plain.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.serif.plain.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.serif.plain.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.serif.plain.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.serif.bold.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.serif.bold.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.serif.bold.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.serif.bold.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.serif.italic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.serif.italic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.serif.italic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.serif.italic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.serif.bolditalic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.serif.bolditalic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.serif.bolditalic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.serif.bolditalic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.plain.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.plain.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.plain.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.plain.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bold.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bold.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bold.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bold.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.italic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.italic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.italic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.italic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bolditalic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bolditalic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bolditalic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.sansserif.bolditalic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.plain.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.plain.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.plain.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.plain.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bold.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bold.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bold.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bold.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.italic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.italic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.italic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.italic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bolditalic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bolditalic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bolditalic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.monospaced.bolditalic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialog.plain.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialog.plain.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialog.plain.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialog.plain.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bold.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bold.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bold.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bold.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialog.italic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialog.italic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialog.italic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialog.italic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bolditalic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bolditalic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bolditalic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialog.bolditalic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.plain.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.plain.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.plain.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.plain.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bold.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bold.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bold.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bold.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.italic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.italic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.italic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.italic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bolditalic.1.charset:
    old: sun.awt.motif.X11JIS0201
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bolditalic.2.charset:
    old: sun.awt.motif.X11JIS0208
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bolditalic.3.charset:
    old: sun.awt.motif.X11JIS0212
    new: sun.nio.cs.ISO_8859_1
awt.dialoginput.bolditalic.4.charset:
    old: sun.awt.motif.X11Dingbats
    new: sun.nio.cs.ISO_8859_1
----------System.err:(13/703)----------
java.lang.RuntimeException: Errors occurred.
	at MappingTest.main(MappingTest.java:117)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:595)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Errors occurred.
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Errors occurred.
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Errors occurred.



###@###.### 2005-05-06 22:46:51 GMT

Verified fixed in b40.
###@###.### 2005-06-20 18:09:32 GMT

Comments
SUGGESTED FIX Add the following lines back to make/sun/awt/FILES_java_unix.gmk: 84 $(TARGDIR)sun/awt/PeerEvent.java \ 85 $(TARGDIR)sun/awt/RepaintArea.java \ 86 $(TARGDIR)sun/awt/DisplayChangedListener.java \ 87 $(TARGDIR)sun/awt/SunDisplayChanger.java \ 88 $(TARGDIR)sun/awt/ScrollPaneWheelScroller.java \ 89 $(TARGDIR)sun/awt/dnd/SunDragSourceContextPeer.java \ 90 $(TARGDIR)sun/awt/dnd/SunDropTargetContextPeer.java \ 91 $(TARGDIR)sun/awt/dnd/SunDropTargetEvent.java \ 92 $(TARGDIR)sun/awt/shell/DefaultShellFolder.java \ 93 $(TARGDIR)sun/awt/shell/ShellFolder.java \ 94 $(TARGDIR)sun/awt/shell/ShellFolderManager.java \ 95 $(TARGDIR)sun/awt/CustomCursor.java \ 96 $(TARGDIR)sun/awt/EventListenerAggregate.java \ 97 $(TARGDIR)sun/awt/geom/AreaOp.java \ 98 $(TARGDIR)sun/awt/geom/ChainEnd.java \ 99 $(TARGDIR)sun/awt/geom/Crossings.java \ 100 $(TARGDIR)sun/awt/geom/Curve.java \ 101 $(TARGDIR)sun/awt/geom/CurveLink.java \ 102 $(TARGDIR)sun/awt/geom/Edge.java \ 103 $(TARGDIR)sun/awt/geom/Order0.java \ 104 $(TARGDIR)sun/awt/geom/Order1.java \ 105 $(TARGDIR)sun/awt/geom/Order2.java \ 106 $(TARGDIR)sun/awt/geom/Order3.java \ 107 $(TARGDIR)sun/nio/cs/ext/GBK.java \ 108 $(TARGDIR)sun/nio/cs/ext/EUC_CN.java \ 109 $(TARGDIR)sun/nio/cs/ext/EUC_KR.java \ 110 $(TARGDIR)sun/nio/cs/ext/EUC_TW.java \ 111 $(TARGDIR)sun/nio/cs/ext/JIS_X_0208_Encoder.java \ 112 $(TARGDIR)sun/nio/cs/ext/JIS_X_0212_Encoder.java \ 113 $(TARGDIR)sun/nio/cs/ext/DoubleByteEncoder.java \ 114 $(TARGDIR)sun/awt/motif/X11CNS11643.java \ 115 $(TARGDIR)sun/awt/motif/X11CNS11643P1.java \ 116 $(TARGDIR)sun/awt/motif/X11CNS11643P2.java \ 117 $(TARGDIR)sun/awt/motif/X11CNS11643P3.java \ 118 $(TARGDIR)sun/awt/motif/X11GB18030_0.java \ 119 $(TARGDIR)sun/awt/motif/X11GB18030_1.java \ 120 $(TARGDIR)sun/awt/motif/X11GB2312.java \ 121 $(TARGDIR)sun/awt/motif/X11GBK.java \ 122 $(TARGDIR)sun/awt/motif/X11JIS0201.java \ 123 $(TARGDIR)sun/awt/motif/X11JIS0208.java \ 124 $(TARGDIR)sun/awt/motif/X11JIS0212.java \ 125 $(TARGDIR)sun/awt/motif/X11Johab.java \ 126 $(TARGDIR)sun/awt/motif/X11KSC5601.java \ 127 $(TARGDIR)sun/awt/motif/X11SunUnicode_0.java \ 128 $(TARGDIR)sun/awt/motif/X11Dingbats.java \ 129 $(TARGDIR)sun/awt/motif/MToolkit.java \ 130 $(TARGDIR)sun/awt/motif/MComponentPeer.java \ 131 $(TARGDIR)sun/awt/motif/MCanvasPeer.java \ 132 $(TARGDIR)sun/awt/motif/MTextAreaPeer.java \ 133 $(TARGDIR)sun/awt/motif/MChoicePeer.java \ 134 $(TARGDIR)sun/awt/motif/MPanelPeer.java \ 135 $(TARGDIR)sun/awt/motif/MFramePeer.java \ 136 $(TARGDIR)sun/awt/motif/MDialogPeer.java \ 137 $(TARGDIR)sun/awt/motif/MTextFieldPeer.java \ 138 $(TARGDIR)sun/awt/motif/MLabelPeer.java \ 139 $(TARGDIR)sun/awt/motif/MListPeer.java \ 140 $(TARGDIR)sun/awt/motif/MFileDialogPeer.java \ 141 $(TARGDIR)sun/awt/motif/MCheckboxPeer.java \ 142 $(TARGDIR)sun/awt/motif/MGlobalCursorManager.java \ 143 $(TARGDIR)sun/awt/motif/MMenuBarPeer.java \ 144 $(TARGDIR)sun/awt/motif/MMenuPeer.java \ 145 $(TARGDIR)sun/awt/motif/MPopupMenuPeer.java \ 146 $(TARGDIR)sun/awt/motif/MMenuItemPeer.java \ 147 $(TARGDIR)sun/awt/motif/MWindowPeer.java \ 148 $(TARGDIR)sun/awt/motif/MCheckboxMenuItemPeer.java \ 149 $(TARGDIR)sun/awt/motif/MScrollbarPeer.java \ 150 $(TARGDIR)sun/awt/motif/MScrollPanePeer.java \ 151 $(TARGDIR)sun/awt/motif/MButtonPeer.java \ 152 $(TARGDIR)sun/awt/motif/MFontConfiguration.java \ 153 $(TARGDIR)sun/awt/motif/MFontPeer.java \ 154 $(TARGDIR)sun/awt/motif/MEmbeddedFrame.java \ 155 $(TARGDIR)sun/awt/motif/MEmbeddedFramePeer.java \ 156 $(TARGDIR)sun/awt/motif/MRobotPeer.java \ 157 $(TARGDIR)sun/awt/motif/MWindowAttributes.java \ 158 $(TARGDIR)sun/awt/motif/MInputMethod.java \ 159 $(TARGDIR)sun/awt/motif/MInputMethodDescriptor.java \ 160 $(TARGDIR)sun/awt/motif/MInputMethodControl.java \ 161 $(TARGDIR)sun/awt/motif/X11FontMetrics.java \ 162 $(TARGDIR)sun/awt/motif/MCustomCursor.java \ 163 $(TARGDIR)sun/awt/motif/X11Clipboard.java \ 164 $(TARGDIR)sun/awt/motif/X11Selection.java \ 165 $(TARGDIR)sun/awt/motif/X11SelectionHolder.java \ 166 $(TARGDIR)sun/awt/motif/AWTLockAccess.java \ 167 $(TARGDIR)sun/awt/motif/MDropTargetContextPeer.java \ 168 $(TARGDIR)sun/awt/motif/MDragSourceContextPeer.java \ 169 $(TARGDIR)sun/awt/motif/MDataTransferer.java \ 170 $(TARGDIR)sun/awt/motif/MToolkitThreadBlockedHandler.java \ 171 $(TARGDIR)sun/awt/motif/MMouseDragGestureRecognizer.java \ 172 $(TARGDIR)sun/awt/motif/X11DragSourceContextPeer.java \ 173 $(TARGDIR)sun/awt/motif/X11DropTargetContextPeer.java \ 174 $(TARGDIR)sun/awt/im/CompositionArea.java \ 175 $(TARGDIR)sun/awt/im/CompositionAreaHandler.java \ 176 $(TARGDIR)sun/awt/im/InputContext.java \ 177 $(TARGDIR)sun/awt/im/InputMethodAdapter.java \ 178 $(TARGDIR)sun/awt/im/InputMethodContext.java \ 179 $(TARGDIR)sun/awt/im/InputMethodLocator.java \ 180 $(TARGDIR)sun/awt/im/InputMethodManager.java \ 181 $(TARGDIR)sun/awt/im/InputMethodPopupMenu.java \ 182 $(TARGDIR)sun/awt/im/InputMethodWindow.java \ ###@###.### 2005-05-11 17:08:30 GMT
11-05-2005

EVALUATION The problem seems to be introduced by AWT teams B35 integration. Thanks to Phil and Dmitri, here is the findings <copy of the emails>: ---------------------------------------------- It looks like one of yoour recent merges in > > make/sun/awt/FILES_java_unix.gmk caused the regression test failure > > mentioned below. > > > > Some of the java files were removed from the .gmk file, and they're > > no longer being built. It's very likely that more tests would fail > > if they were run with motif toolkit. > > > > It happend during the merge between deltas 1.180.1.1 and 1.180.1.2. > > Why were those files removed during the merge? > > I am not sure I understand what you mean, I don't see any files being > removed. Could you please provide diffs/filenames? I've attached the diff between the mentioned deltas,. In total 99 files were removed from the FILES_java list. Or, rather, they were replaced by spaces. I've also attached the FILES_java_unix.gmk v1.180.1.2. <See attachments section for these files> ###@###.### 2005-05-09 22:34:18 GMT ###@###.### 2005-05-09 22:48:26 GMT The test passes on my workspace on Linux. I don't understand why the missing lines in FILES_java_unix.gmk cause the failure in other configuration. I'll restore them anyway, but this may not fix the original problem, which I am unable to reproduce yet. ###@###.### 2005-05-11 11:52:01 GMT I verified that restoring of missing lines in FILES_java_unix.gmk fixed the problem, the test passes. ###@###.### 2005-05-11 17:02:16 GMT
09-05-2005