https://issues.apache.org/bugzilla/show_bug.cgi?id=53205

Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Yegor Kozlov <[email protected]> ---
Finally I had time to review your patch, thanks for your patience.

The patch looks good, but needs some work.

 POI is compatible with JDK 1.5 but your patch isn't. The Chunk class
constructs strings with String(byte[],int,int,java.nio.charset.Charset) which
wasd introduced in JDK 1.6. The old code used
StringUtil.getFromUnicodeLE(contents, startsAt, strLen) which assumed that
encoding is always UTF-16LE. I see that in your patch the encoding is either
ASCII or UTF-16LE depending on the chunk type. Can you write some unit tests
that show it is really so? 

Regards,
Yegor

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to