On Dec 13, 2006, at 4:56 PM, Marc Prud'hommeaux wrote:

If you declare the field to be an interface type and you don't
initialize the field to anything, I don't remember how we decide what
impl to use.

Looking at the code in ProxyManagerImpl.java, it appears that we default to ArrayList for fields declared as type Collection, HashSet for fields declared as type Set, TreeSet for fields declared as type SortedSet, and ArrayList for fields declared as type List.

Thanks! That is exactly what I wanted to know.

-dain

Reply via email to