mirror of
https://github.com/apache/activemq.git
synced 2025-02-24 19:15:06 +00:00
Use an escape code for the unicode char to keep java sources using ascii characters.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1437440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
77312e5a64
commit
3602973cae
@ -24,7 +24,7 @@ public class DataByteArrayInputStreamTest extends TestCase {
|
||||
* https://issues.apache.org/activemq/browse/AMQ-1911
|
||||
*/
|
||||
public void testNonAscii() throws Exception {
|
||||
doMarshallUnMarshallValidation("meißen");
|
||||
doMarshallUnMarshallValidation("mei\u00DFen");
|
||||
|
||||
String accumulator = new String();
|
||||
|
||||
@ -62,7 +62,7 @@ public class DataByteArrayInputStreamTest extends TestCase {
|
||||
doMarshallUnMarshallValidation(accumulator);
|
||||
}
|
||||
|
||||
void doMarshallUnMarshallValidation(String value) throws Exception {
|
||||
void doMarshallUnMarshallValidation(String value) throws Exception {
|
||||
DataByteArrayOutputStream out = new DataByteArrayOutputStream();
|
||||
out.writeBoolean(true);
|
||||
out.writeUTF(value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user