[ 
https://issues.apache.org/jira/browse/DERBY-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537471
 ] 

Daniel John Debrunner commented on DERBY-3148:
----------------------------------------------

With the patch the byte array is written using the default encoding of the 
platform, and then read using ISO-8859-1.
Whichever encoding is used, it needs to be consistent on read and write.

> IllegalArgumentException: Malformed \uxxxx encoding while trying to find 
> Xalan version running tests via ant
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3148
>                 URL: https://issues.apache.org/jira/browse/DERBY-3148
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.4.0.0
>         Environment: ant 1.7.0
> IBM JVM 1.5
> Windows XP
>            Reporter: Daniel John Debrunner
>         Attachments: d3148_v1.patch
>
>
> Following stack trace after executing:
> ant -propertyfile ant.properties junit-all-codeline-jars
>     [junit] Unexpected exception while trying to find Xalan version:
>     [junit] java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
>     [junit]     at java.util.Properties.loadConvert(Properties.java:531)
>     [junit]     at java.util.Properties.load(Properties.java:370)
>     [junit]     at 
> org.apache.derbyTesting.junit.XML.checkXalanVersion(XML.java:
> 329)
>     [junit]     at org.apache.derbyTesting.junit.XML.<clinit>(XML.java:116)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to