8269763: The JEditorPane is blank after JDK-8265167

Reviewed-by: azvegint, prr
This commit is contained in:
Prasanta Sadhukhan 2021-07-16 03:46:32 +00:00 committed by Henry Jen
parent af82404b3c
commit 4e4a3cf657

View File

@ -310,7 +310,8 @@ abstract class RTFParser extends AbstractFilter
if (binaryBytesLeft > 0) {
binaryBuf.write(ch);
binaryBytesLeft--;
} else {
}
if (binaryBytesLeft == 0) {
state = S_text;
specialsTable = savedSpecials;
savedSpecials = null;