0 Replies Latest reply on Dec 4, 2008 8:13 AM by luxspes

    Possible bug in org.jboss.seam.core.Validators

      Possible bug in org.jboss.seam.core.Validators because it does not check for null argument:


            @Override
            public boolean equals(Object other)
            {
               Key key = (Key) other;
               return key.validatableClass.equals(validatableClass) && key.locale.equals(locale);
            }
      



      If the parameter other is null, the line return key.validatableClass... will crash with  null pointer exception.


      Should I submit a JIRA and a patch?