JDK-6959851 : sun/nio/cs/FindEncoderBugs.java failed in 6u20b06
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 6u20-rev
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2010-06-09
  • Updated: 2010-12-09
  • Resolved: 2010-06-14
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
6u20-rev b07Fixed
Related Reports
Relates :  
Description
Testsuite name: regression
		sun/nio/cs/FindEncoderBugs.java failed on 6u20b06, but passed on 6u20b05

JDK/JRE tested: jdk6u20b06

OS/architecture: amd64-oel4.8

Reproducible: Always

Reproducible on machine: stt-35.russia 

Is it a platform specific regression: N

Is it a Regression: Y, test passed on 6u20b05

Regression introduced in release/build: 6u20b06

Test run log location:
[stt-robot@stt-35]$ pwd
/export/JQA/regression/6u20b06
[stt-robot@stt-35]$ cat cur/work/sun/nio/cs/FindEncoderBugs.jtr 
#Test Results (version 2)
#Wed Jun 09 20:18:07 MSD 2010
#checksum:3b9ac9b60e7a1551
#-----testdescription-----
$file=/net/vice/export/stt/newroot/regression/workspaces/160/1.6.0_20b06/j2se/test/sun/nio/cs/FindEncoderBugs.java
$root=/net/vice/export/stt/newroot/regression/workspaces/160/1.6.0_20b06/j2se/test
author=Martin Buchholz
keywords=bug6233345 bug6381699 bug6381702 bug6381705 bug6381706
run=USER_SPECIFIED main/timeout=1200 FindEncoderBugs\n
source=FindEncoderBugs.java
title=Encode many char sequences in many ways

#-----environment-----

#-----testresult-----
description=file:///net/vice/export/stt/newroot/regression/workspaces/160/1.6.0_20b06/j2se/test/sun/nio/cs/FindEncoderBugs.java
end=Wed Jun 09 20:18:07 MSD 2010
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
javatestOS=Linux 2.6.9-89.0.0.0.1.ELsmp (amd64)
javatestVersion=3.2.2_03
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build main
start=Wed Jun 09 20:17:09 MSD 2010
test=sun/nio/cs/FindEncoderBugs.java
work=/export/JQA/regression/6u20b06/cur/work/sun/nio/cs

#section:script_messages
----------messages:(4/214)----------
JDK under test: (/export/jdk/jdk1.6.0_20b06_j4b)
java version "1.6.0_20-rev"
Java(TM) Platform, Standard Edition for Business (build 1.6.0_20-rev-b06)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b04, mixed mode)

#section:build
----------messages:(3/101)----------
command: build FindEncoderBugs
reason: Named class compiled on demand
elapsed time (seconds): 0.0020
result: Passed. All files up to date

#section:main
----------messages:(3/131)----------
command: main FindEncoderBugs
reason: User specified action: run main/timeout=1200 FindEncoderBugs 
elapsed time (seconds): 57.567
----------System.out:(256/5432)*----------
Big5
Big5-HKSCS
Skipping possibly broken charset COMPOUND_TEXT
EUC-JP
EUC-KR
GB18030
GB2312
GBK
IBM-Thai
IBM00858
IBM01140
IBM01141
IBM01142
IBM01143
IBM01144
IBM01145
IBM01146
IBM01147
IBM01148
IBM01149
IBM037
IBM1026
IBM1047
IBM273
IBM277
IBM278
IBM280
IBM284
IBM285
IBM297
IBM420
IBM424
IBM437
IBM500
IBM775
IBM850
IBM852
IBM855
IBM857
IBM860
IBM861
IBM862
IBM863
IBM864
IBM865
IBM866
IBM868
IBM869
IBM870
IBM871
IBM918
ISO-2022-JP
Results differ for direct buffers: ISO-2022-JP
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: ISO-2022-JP
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
ISO-2022-JP-2
Results differ for direct buffers: ISO-2022-JP-2
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: ISO-2022-JP-2
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
ISO-2022-KR
ISO-8859-1
ISO-8859-13
ISO-8859-15
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-7
ISO-8859-8
ISO-8859-9
JIS_X0201
JIS_X0212-1990
KOI8-R
KOI8-U
Shift_JIS
TIS-620
US-ASCII
UTF-16
UTF-16BE
UTF-16LE
UTF-32
UTF-32BE
UTF-32LE
UTF-8
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
windows-31j
x-Big5-Solaris
x-euc-jp-linux
x-EUC-TW
x-eucJP-Open
x-IBM1006
x-IBM1025
x-IBM1046
x-IBM1097
x-IBM1098
x-IBM1112
x-IBM1122
x-IBM1123
x-IBM1124
x-IBM1364
x-IBM1381
x-IBM1383
x-IBM33722
x-IBM737
Skipping possibly broken charset x-IBM834
x-IBM856
x-IBM874
x-IBM875
x-IBM921
x-IBM922
x-IBM930
Skipping possibly broken charset x-IBM933
x-IBM935
x-IBM937
x-IBM939
x-IBM942
x-IBM942C
x-IBM943
x-IBM943C
x-IBM948
Skipping possibly broken charset x-IBM949
Skipping possibly broken charset x-IBM949C
x-IBM950
x-IBM964
Skipping possibly broken charset x-IBM970
x-ISCII91
More ISCII testing...
Testing prefix \\u094d
Testing prefix \\u093c
x-ISO-2022-CN-CNS
x-ISO-2022-CN-GB
x-iso-8859-11
x-JIS0208
x-Johab
x-MacArabic
x-MacCentralEurope
x-MacCroatian
x-MacCyrillic
x-MacDingbat
x-MacGreek
x-MacHebrew
x-MacIceland
x-MacRoman
x-MacRomania
x-MacSymbol
x-MacThai
x-MacTurkish
x-MacUkraine
x-MS932_0213
x-MS950-HKSCS
x-mswin-936
x-PCK
x-SJIS_0213
x-UTF-16LE-BOM
X-UTF-32BE-BOM
X-UTF-32LE-BOM
x-windows-50220
Results differ for direct buffers: x-windows-50220
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-50220
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
x-windows-50221
Results differ for direct buffers: x-windows-50221
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-50221
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-50221
    "\\u6b28 \\u00a5"[1/2] => OVERFLOW "1b 24 28 44 45 69 1b 28 4a"[9/9]
    "\\u6b28 \\u00a5"[1/2] => OVERFLOW "1b 24 28 44 45 69"[6/9] (direct)
x-windows-874
x-windows-949
x-windows-950
x-windows-iso2022jp
Results differ for direct buffers: x-windows-iso2022jp
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-iso2022jp
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
-----
Results differ for direct buffers: ISO-2022-JP
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP-2
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP-2
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50220
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50220
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50221
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50221
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50221
    "\\u6b28 \\u00a5"[1/2] => OVERFLOW "1b 24 28 44 45 69 1b 28 4a"[9/9]
    "\\u6b28 \\u00a5"[1/2] => OVERFLOW "1b 24 28 44 45 69"[6/9] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-iso2022jp
    "\\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-iso2022jp
    "\\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1

Passed = 204877154, failed = 11

----------System.err:(13/708)----------
java.lang.AssertionError: Some tests failed
	at FindEncoderBugs.main(FindEncoderBugs.java:504)
	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:597)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
	at java.lang.Thread.run(Thread.java:619)

JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed


test result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed


Steps to reproduce: 

[stt-robot@stt-35]$ pwd 
/export/JQA/regression/6u20b06
[stt-robot@stt-35]$ /export/jdk/jdk1.6.0_20b06_j4b/bin/javac FindEncoderBugs.java 
[stt-robot@stt-35]$ /export/jdk/jdk1.6.0_20b06_j4b/bin/java FindEncoderBugs      
Big5
Big5-HKSCS
Skipping possibly broken charset COMPOUND_TEXT
EUC-JP
EUC-KR
GB18030
GB2312
GBK
IBM-Thai
IBM00858
IBM01140
IBM01141
IBM01142
IBM01143
IBM01144
IBM01145
IBM01146
IBM01147
IBM01148
IBM01149
IBM037
IBM1026
IBM1047
IBM273
IBM277
IBM278
IBM280
IBM284
IBM285
IBM297
IBM420
IBM424
IBM437
IBM500
IBM775
IBM850
IBM852
IBM855
IBM857
IBM860
IBM861
IBM862
IBM863
IBM864
IBM865
IBM866
IBM868
IBM869
IBM870
IBM871
IBM918
ISO-2022-JP
Results differ for direct buffers: ISO-2022-JP
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: ISO-2022-JP
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: ISO-2022-JP
    "\u203e \u0069"[0/2] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u0069"[0/2] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: ISO-2022-JP
    "\u203e \u748e \u9778"[0/3] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u748e \u9778"[0/3] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: ISO-2022-JP
    "\u203e \u6e14 \u2551"[0/3] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u6e14 \u2551"[0/3] => OVERFLOW ""[0/3] (direct)
ISO-2022-JP-2
Results differ for direct buffers: ISO-2022-JP-2
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: ISO-2022-JP-2
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
ISO-2022-KR
ISO-8859-1
ISO-8859-13
ISO-8859-15
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-7
ISO-8859-8
ISO-8859-9
JIS_X0201
JIS_X0212-1990
KOI8-R
KOI8-U
Shift_JIS
TIS-620
US-ASCII
UTF-16
UTF-16BE
UTF-16LE
UTF-32
UTF-32BE
UTF-32LE
UTF-8
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
windows-31j
x-Big5-Solaris
x-euc-jp-linux
x-EUC-TW
x-eucJP-Open
x-IBM1006
x-IBM1025
x-IBM1046
x-IBM1097
x-IBM1098
x-IBM1112
x-IBM1122
x-IBM1123
x-IBM1124
x-IBM1364
x-IBM1381
x-IBM1383
x-IBM33722
x-IBM737
Skipping possibly broken charset x-IBM834
x-IBM856
x-IBM874
x-IBM875
x-IBM921
x-IBM922
x-IBM930
Skipping possibly broken charset x-IBM933
x-IBM935
x-IBM937
x-IBM939
x-IBM942
x-IBM942C
x-IBM943
x-IBM943C
x-IBM948
Skipping possibly broken charset x-IBM949
Skipping possibly broken charset x-IBM949C
x-IBM950
x-IBM964
Skipping possibly broken charset x-IBM970
x-ISCII91
More ISCII testing...
Testing prefix \u094d
Testing prefix \u093c
x-ISO-2022-CN-CNS
x-ISO-2022-CN-GB
x-iso-8859-11
x-JIS0208
x-Johab
x-MacArabic
x-MacCentralEurope
x-MacCroatian
x-MacCyrillic
x-MacDingbat
x-MacGreek
x-MacHebrew
x-MacIceland
x-MacRoman
x-MacRomania
x-MacSymbol
x-MacThai
x-MacTurkish
x-MacUkraine
x-MS932_0213
x-MS950-HKSCS
x-mswin-936
x-PCK
x-SJIS_0213
x-UTF-16LE-BOM
X-UTF-32BE-BOM
X-UTF-32LE-BOM
x-windows-50220
Results differ for direct buffers: x-windows-50220
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-50220
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
x-windows-50221
Results differ for direct buffers: x-windows-50221
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-50221
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
x-windows-874
x-windows-949
x-windows-950
x-windows-iso2022jp
Results differ for direct buffers: x-windows-iso2022jp
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-iso2022jp
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
Results differ for direct buffers: x-windows-iso2022jp
    "\u203e \u6c26 \u3015"[0/3] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u6c26 \u3015"[0/3] => OVERFLOW ""[0/3] (direct)
-----
Results differ for direct buffers: ISO-2022-JP
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP
    "\u203e \u0069"[0/2] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u0069"[0/2] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP
    "\u203e \u6e14 \u2551"[0/3] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u6e14 \u2551"[0/3] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP
    "\u203e \u748e \u9778"[0/3] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u748e \u9778"[0/3] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP-2
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: ISO-2022-JP-2
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50220
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50220
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50221
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-50221
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-iso2022jp
    "\u00a5"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u00a5"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-iso2022jp
    "\u203e \u6c26 \u3015"[0/3] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e \u6c26 \u3015"[0/3] => OVERFLOW ""[0/3] (direct)
failures=1
-----
Results differ for direct buffers: x-windows-iso2022jp
    "\u203e"[0/1] => OVERFLOW "1b 28 4a"[3/3]
    "\u203e"[0/1] => OVERFLOW ""[0/3] (direct)
failures=1

Passed = 204857344, failed = 14

Exception in thread "main" java.lang.AssertionError: Some tests failed
	at FindEncoderBugs.main(FindEncoderBugs.java:504)

Comments
EVALUATION 6233838/6392804 have been backed out so apparent root cause addressed.
14-06-2010

EVALUATION Proposed plan is to address 6959851 (this CR) by back-out of: 6233838/6392804 http://jpsesvr.sfbay.sun.com:8080/ctetools/html/ViewDetail.jsp?index=3423 6949920 (really 6233838/6392804 PART II ) http://jpsesvr.sfbay.sun.com:8080/ctetools/html/ViewDetail.jsp?index=3523 It seems we need 6233838/6392804 PART III Please do not associate any further work on 6233838/6392804 with this new CR.
14-06-2010