summaryrefslogtreecommitdiffstats
path: root/luni/src/test/java/libcore/java/text/BreakIteratorTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'luni/src/test/java/libcore/java/text/BreakIteratorTest.java')
-rw-r--r--luni/src/test/java/libcore/java/text/BreakIteratorTest.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/luni/src/test/java/libcore/java/text/BreakIteratorTest.java b/luni/src/test/java/libcore/java/text/BreakIteratorTest.java
index 47701c8..de2ae52 100644
--- a/luni/src/test/java/libcore/java/text/BreakIteratorTest.java
+++ b/luni/src/test/java/libcore/java/text/BreakIteratorTest.java
@@ -172,32 +172,4 @@ public class BreakIteratorTest extends junit.framework.TestCase {
// Expected exception
}
}
-
- // http://code.google.com/p/android/issues/detail?id=41143
- // This code is inherently unsafe and crazy;
- // we're just trying to provoke native crashes!
- public void testConcurrentBreakIteratorAccess() throws Exception {
- final BreakIterator it = BreakIterator.getCharacterInstance();
-
- ArrayList<Thread> threads = new ArrayList<Thread>();
- for (int i = 0; i < 10; ++i) {
- Thread t = new Thread(new Runnable() {
- public void run() {
- for (int i = 0; i < 4096; ++i) {
- it.setText("some example text");
- for (int index = it.first(); index != BreakIterator.DONE; index = it.next()) {
- }
- }
- }
- });
- threads.add(t);
- }
-
- for (Thread t : threads) {
- t.start();
- }
- for (Thread t : threads) {
- t.join();
- }
- }
}