-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b01
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8221290 | openjdk8u222 | Alan Bateman | P4 | Resolved | Fixed | b01 |
JDK-8219175 | 8u222 | Ivan Gerasimov | P4 | Resolved | Fixed | master |
JDK-8219073 | 8u221 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8224374 | emb-8u221 | Ivan Gerasimov | P4 | Resolved | Fixed | master |
JDK-8219148 | 7u231 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
TESTFAIL:java/lang/ref/MalformedSurrogates.java
The test should be updated as it would fail if the property "file.encoding" and default charset are UTF-16 or UTF-32.
Below is an example if set file.encoding=UTF-16
$ java -Dfile.encoding=UTF-16 -cp . MalformedSurrogates
??Testing string conversion...
??16
[0]=??=-2
[1]=??=-1
[2]==0
[3]=c=99
[4]=??=-1
[5]=??=-3
[6]=??=-1
[7]=??=-3
[8]==0
[9]=e=101
[10]==0
[11]=f=102
[12]==0
[13]=g=103
[14]==0
[15]=h=104
Exception in thread "main" java.lang.Exception: Bad string conversion for bad surrogate
at MalformedSurrogates.main(MalformedSurrogates.java:54)
The test should be updated as it would fail if the property "file.encoding" and default charset are UTF-16 or UTF-32.
Below is an example if set file.encoding=UTF-16
$ java -Dfile.encoding=UTF-16 -cp . MalformedSurrogates
??Testing string conversion...
??16
[0]=??=-2
[1]=??=-1
[2]==0
[3]=c=99
[4]=??=-1
[5]=??=-3
[6]=??=-1
[7]=??=-3
[8]==0
[9]=e=101
[10]==0
[11]=f=102
[12]==0
[13]=g=103
[14]==0
[15]=h=104
Exception in thread "main" java.lang.Exception: Bad string conversion for bad surrogate
at MalformedSurrogates.main(MalformedSurrogates.java:54)
- backported by
-
JDK-8219073 TEST_BUG: sun/nio/cs/MalformedSurrogates.java fails intermittently
-
- Resolved
-
-
JDK-8219148 TEST_BUG: sun/nio/cs/MalformedSurrogates.java fails intermittently
-
- Resolved
-
-
JDK-8219175 TEST_BUG: sun/nio/cs/MalformedSurrogates.java fails intermittently
-
- Resolved
-
-
JDK-8221290 TEST_BUG: sun/nio/cs/MalformedSurrogates.java fails intermittently
-
- Resolved
-
-
JDK-8224374 TEST_BUG: sun/nio/cs/MalformedSurrogates.java fails intermittently
-
- Resolved
-