[jboss-user] [JBoss jBPM] - Re: Is this a bug or is it intentional
do-not-reply at jboss.com
Thu Jun 19 14:15:05 EDT 2008
I see problems with both the current code and your proposed fix.
The current code fails for the declaration below, because it will try to assign a HashMap to a Hashtable.
The proposed fix actually makes things worse because the following declaration is the common case. Class.newInstance() fails for interfaces.
The definitive solution should address both scenarios. I'll reopen the issue and add this comment.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159378#4159378
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159378
More information about the jboss-user