title: can I override a jsr-303 validation annotation
body: <p>I have a test like below:</p>
  
  <pre><code>public class TestSizeAnnotation
  {
      public static void main(String[] args)
      {
          System.out.println(Validation.buildDefaultValidatorFactory().getValidator().validate(new C()));
      }
  
      public static class P
      {
          private List&lt;String&gt; lst = newArrayList("AA");
          @Size(max=0, message="P")
          public List&lt;String&gt; getLst()
          {
              return lst;
          }
  
          public void setLst(List&lt;String&gt; lst)
          {
              this.lst = lst;
          }
      }
  
      public static class C extends P
      {
          @Override
          @Size(max=5, message="C")
          public List&lt;String&gt; getLst()
          {
              return super.getLst();
          }
      }
  }
  </code></pre>
  
  <p>with the following output:<br>
  <code>[ConstraintViolationImpl{interpolatedMessage='P', propertyPath=lst, rootBeanClass=class com....validator.TestSizeAnnotation$C, messageTemplate='P'}]</code></p>
  
  <p>However, I expected that the annotation can <code>@Size</code> be overridden, and no warning will appear.<br>
  Is there a way to accomplish that?  </p>
  
  <p>EDIT: I found a <a href="https://hibernate.onjira.com/browse/HV-466" rel="nofollow noreferrer">bug</a> seems related to that, but I run 4.2.0 final and still get the above behavior.</p>