public class ToStringStyleConcurrencyTest extends Object
ToStringStyle.
The ToStringStyle class includes a registry to avoid infinite loops for objects with circular references. We
want to make sure that we do not get concurrency exceptions accessing this registry.
This test passes but only tests one aspect of the issue.
| Constructor and Description |
|---|
ToStringStyleConcurrencyTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testArrayList() |
void |
testCopyOnWriteArrayList() |
void |
testLinkedList() |
public ToStringStyleConcurrencyTest()
public void testLinkedList() throws InterruptedException, ExecutionException
public void testArrayList() throws InterruptedException, ExecutionException
public void testCopyOnWriteArrayList() throws InterruptedException, ExecutionException
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.