<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">BTW +1 to the idea of writing a well written blog explaining our problem and open a JDK issue asking for advice.<div class="">My guess is that it won’t go anywhere but that’s worth trying.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 19 Apr 2017, at 17:09, Michael Nascimento &lt;<a href="mailto:misterm@gmail.com" class="">misterm@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 19, 2017 at 12:03 PM, Gunnar Morling <span dir="ltr" class="">&lt;<a href="mailto:gunnar@hibernate.org" target="_blank" class="">gunnar@hibernate.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then we cannot tell what's the target of the @Size annotation, String<br class="">
or String[]. As per Java 8's annotation semantics it can be both<br class="">
(provided FIELD and TYPE_USE are among the supported element types).<br class=""></blockquote><div class=""><br class=""></div><div class="">This point worries me. So you're saying there's a flaw in *the language design* for this JSR in this particular case, is that right? I said it before, but since now we got to a point you''re stating (maybe rightfully, don't take me wrong!) the language is broken in the specific case of annotations involving arrays, it would be nice to contact the spec leads for the JSR in order to see (a) if we missed something (then we should revisit the solution) or (b) to get the language fixed for Java SE 10 (for 9 I think it wouldn't make it even though it's a bug fix) and in this case provide no support until we release BV for that version of Java.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Michael</div></div></div></div>
_______________________________________________<br class="">beanvalidation-dev mailing list<br class=""><a href="mailto:beanvalidation-dev@lists.jboss.org" class="">beanvalidation-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</div></blockquote></div><br class=""></div></body></html>