> > 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.
So presumably if you declare a field type other than one of the JDK collection interfaces, you must either declare using the impl class or provide a default setting in the declaration (or hook into ProxyManagerImpl). -Patrick _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.