[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss
anonymous wrote : Would someone be kind enough to post a fixed javassit.jar Would be nice. I got this error while trying to override Object.clone(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962441#3962441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss
Try downloading javassist source code from http://prdownloads.sourceforge.net/jboss/javassist-3.2.zip?download Next, change isVisible(int mod, String from, Member meth) inside javassist.util.proxy.ProxyFactory class to this: private static boolean isVisible(int mod, String from, Member meth) { | // this allow generics | if ((mod Modifier.VOLATILE) != 0) | return false; | else if ((mod Modifier.PRIVATE) != 0) | return false; | else if ((mod (Modifier.PUBLIC | Modifier.PROTECTED)) != 0) | return true; | else { | String p = getPackageName(from); | String q = getPackageName(meth.getDeclaringClass().getName()); | if (p == null) | return q == null; | else | return p.equals(q); | } | } | } Compile and build project and it's done! I can't submit any jars because this forum doesn't support attached files View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962464#3962464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss
Would someone be kind enough to post a fixed javassit.jar that we can install over the jboss-4.0.4 supplied one? This bug is preventing my applications (and I guess other people apps also) from running. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3960472#3960472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user