From 1895955344b23f4d8a01596906a62f521c5463ef Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Mon, 12 Jan 2015 17:15:45 +0000 Subject: Add a unit test to demonstrate ICU CharsetProvider problems Also add a single FakeCharsetProvider for unit tests that does nothing by default, so that we can stub it in for tests that do care about it and none of our other tests are affected. Change-Id: I03abb8f1aff53c160935b4cdbeaef764d30f240a --- expectations/knownfailures.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'expectations/knownfailures.txt') diff --git a/expectations/knownfailures.txt b/expectations/knownfailures.txt index cf93bab..0da87d6 100644 --- a/expectations/knownfailures.txt +++ b/expectations/knownfailures.txt @@ -1529,5 +1529,12 @@ names: [ "org.apache.harmony.tests.java.lang.MathTest#test_cbrt_D" ] +}, +{ + description: "Recursive calls to Charset.forName from within providers will overflow the stack.", + result: EXEC_FAILED, + names: [ + "org.apache.harmony.tests.java.nio.charset.CharsetTest#testForName_withProviderWithRecursiveCall" + ] } ] -- cgit v1.1