JDK-8011371 : sun/awt/datatransfer/SuplementaryCharactersTransferTest.java fails with Characters are not equal! error
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u40,8,9,10,11
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: linux,solaris,windows
  • CPU: generic
  • Submitted: 2013-04-03
  • Updated: 2019-03-23
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
new regression test sun/awt/datatransfer/SuplementaryCharactersTransferTest.java failed with jdk8 and jdk7 on solarises and linuxes with the following output:
----------System.out:(0/0)----------
----------System.err:(13/775)----------
java.lang.RuntimeException: Characters are not equal!
	at SuplementaryCharactersTransferTest.main(SuplementaryCharactersTransferTest.java:58)
	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:487)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
	at java.lang.Thread.run(Thread.java:722)


test passed on windows
Comments
The test will fail in headless mode as well.
17-02-2018

Issue reproducible on Linux with JDK 10.0.1
01-02-2018

test fails with same error for jigsaw m2
02-12-2014

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

Converted "8-client-defer-candidate" label to "8-defer-request" by SQE' OK.
15-08-2013

*This is anti-deferral criteria list*: - P2 -------------- Engineering's Criteria ------------------------------------- - tck-red labeled - conformance labeled - P3 regressions reported/labeled against jdk8 - findbugs, parfait, eht labeled bugs - CAP <1 year reported - netbeans <1 year reported Victor ----------------- SQE's OK --------------------------------- Yes, we are ok with that thanks, Mikhail
15-08-2013

Bytes order in result byte array differs on Linux/Solaris: before fix expected got #0 97 0 #1 0 97 #2 64 0 #3 -40 0 #4 32 0 #5 -36 0 #6 98 0 #7 0 0 after fix expected got #0 97 0 #1 0 97 #2 64 -40 #3 -40 64 #4 32 -36 #5 -36 32 #6 98 0 #7 0 98
04-07-2013

This test fails to compile since 8b86 see JDK-8013437
29-04-2013