I have run the test on Linux, and got the same error. Seems it is due to our
UTF-8 decoder. I will do more debugging to narrow down the root cause. Any
one is familiar with UTF-8? I hope I can get some help.

2010/9/1 Robert Muir <rcm...@gmail.com>

> Here is a simple roundtrip test that fails:
>
>  public void testUTF8() throws Exception {
>    // U+1D11E: MUSICAL SYMBOL G CLEF
>    String s = new StringBuilder().appendCodePoint(0x1D11E).toString();
>    byte utf8[] = s.getBytes("UTF-8");
>    assertEquals(s, new String(utf8, 0, utf8.length, "UTF-8"));
>  }
>
> Any ideas? It seems the problems only involve supplementary characters.
>
> Apache Harmony Launcher : (c) Copyright 1991, 2010 The Apache Software
> Foundation or its licensors, as applicable.
> java version "1.5.0"
> Apache Harmony (1.5.0)
> DRLVM (1.5.0-r946978)
> pre-alpha : not complete or compatible
> svn = r946978, (May 22 2010), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
>
> --
> Robert Muir
> rcm...@gmail.com
>

Reply via email to