ICU-6393 Updated TestCharsetTestData to work on IBM JRE5/Windows - charsetForName to use the full path for the custom converter data with the classloader used for the test code itself.
X-SVN-Rev: 24294
This commit is contained in:
parent
abfdbf4208
commit
4904d60719
@ -5012,7 +5012,8 @@ public class TestCharset extends TestFmwk {
|
||||
CoderResult result = CoderResult.UNDERFLOW;
|
||||
String charsetName = "test4";
|
||||
CharsetProvider provider = new CharsetProviderICU();
|
||||
Charset charset = ((CharsetProviderICU)provider).charsetForName(charsetName, "../dev/data/testdata");
|
||||
Charset charset = ((CharsetProviderICU)provider).charsetForName(charsetName, "com/ibm/icu/dev/data/testdata",
|
||||
this.getClass().getClassLoader());
|
||||
CharsetEncoder encoder = charset.newEncoder();
|
||||
CharsetDecoder decoder = charset.newDecoder();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user