-
Bug
-
Resolution: Unresolved
-
P4
-
8u92
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) Client VM (build 25.92-b14, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Adobe Acrobat version 11.0.10
A DESCRIPTION OF THE PROBLEM :
When text copied from Adobe Acrobat is pasted into a JavaFX TextField or TextArea, the pasted text has an additional trailing Replacement Character (https://en.wikipedia.org/wiki/Specials_%28Unicode_block%29#Replacement_character).
Text copied from the same PDF file opened in a different application (Foxit Reader) does not exhibit the same behavior.
The cause of the issue seems to be an additional byte at the end of the clipboard contents. The text is decoded using UTF-16LE, but the content consists of an odd (non-even) number of bytes.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) Client VM (build 25.92-b14, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Adobe Acrobat version 11.0.10
A DESCRIPTION OF THE PROBLEM :
When text copied from Adobe Acrobat is pasted into a JavaFX TextField or TextArea, the pasted text has an additional trailing Replacement Character (https://en.wikipedia.org/wiki/Specials_%28Unicode_block%29#Replacement_character).
Text copied from the same PDF file opened in a different application (Foxit Reader) does not exhibit the same behavior.
The cause of the issue seems to be an additional byte at the end of the clipboard contents. The text is decoded using UTF-16LE, but the content consists of an odd (non-even) number of bytes.
REPRODUCIBILITY :
This bug can be reproduced always.
- is blocked by
-
JDK-8179597 Handle cut and paste of 1, 2 and 4 byte characters
- Resolved