Bugs item #825975, was opened at 2003-10-18 07:07 Message generated for change (Comment added) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=825975&group_id=22866
Category: JBossCMP Group: v3.2 >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: Alexei Yudichev (sflexus) Assigned to: Nobody/Anonymous (nobody) Summary: Fields of CMP beans get initialized from different context Initial Comment: JBoss 3.2.2RC3, RC4. Sometimes if I create an instance (with home.create()) of a CMP bean that have a member field in bean implementation class declared like this private java.util.Properties bindProperties; this field is populated with a value from a different instance (most likely recently created) rather than null. Is it a normal behaviour because non-initialized field may have an unpredictable value or is it an issue? In JBoss 3.2.1 a field declared this way ALWAYS had a value of null upon creation of bean instance. ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2003-10-18 09:13 Message: Logged In: YES user_id=175228 The only time an instance is created using the new operator is when it is put into the pool. Section 10.5.2 of the ejb2.0 spec states that only the cmp fields are guarenteed to have Java language default values within the ejbCreate method. This does not apply to non-cmp fields. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=825975&group_id=22866 ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development