[
http://jira.jboss.com/jira/browse/JBSEAM-2876?page=comments#action_12408457 ]
Shane Bryzak commented on JBSEAM-2876:
--------------------------------------
Has this actually manifested itself as an exception? Looking at the code it *seems* to be
safe, however if there is a situation where it's not, then what are the steps to
reproduce?
endless recursion in public class
---------------------------------
Key: JBSEAM-2876
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2876
Project: Seam
Issue Type: Bug
Affects Versions: 1.2.1.GA
Reporter: Pete Muir
Fix For: 2.0.2.CR2, 2.1.0.BETA1
looks like this is a recursion clearly missing an exit condition;
not a big issue, but it is in a public class, maybe remove this method:
[mschoene@mschoene]$ javap -c Validators
Compiled from "Validators.java"
public class org.jboss.seam.core.Validators extends java.lang.Object{
public org.hibernate.validator.ClassValidator getValidator(java.lang.Class);
Code:
0: aload_0
1: aload_1
2: invokevirtual #13; //Method
getValidator:(Ljava/lang/Class;)Lorg/hibernate/validator/ClassValidator;
5: areturn
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira