lpireyn/pi-ocelot — Issue #8: Infinite loop in InputStreamCharStream
Author: lpireyn
Created: 2012-02-05 22:32:07+00:00
State: open
Labels: Bug

The method `GetImage` in `InputStreamCharStream` causes an infinite loop when some documents are parsed (e.g. the PDF 1.7 specification).

This has happened in the following conditions:

* A charset is specified in the string construction (e.g. ASCII, PDFDocEncoding).
* JVM: Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

This bug cannot be reproduced in any of the following conditions:

* No charset is specified in the string construction, falling back on the platform charset.
* JVM: OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)