<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>Hi Jozef,</div>
</div>
</div>
<div><br>
</div>
<div>Thanks for the pointer.</div>
<div>It seems not consistent to me, but obviously it is spec-conform :-)</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">Von: </span>Jozef Hartinger &lt;<a href="mailto:jharting@redhat.com">jharting@redhat.com</a>&gt;<br>
<span style="font-weight:bold">Datum: </span>Samstag, 5. Januar 2013 13:55<br>
<span style="font-weight:bold">An: </span>Arne Limburg &lt;<a href="mailto:arne.limburg@openknowledge.de">arne.limburg@openknowledge.de</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
<span style="font-weight:bold">Betreff: </span>Re: [cdi-dev] Type closure<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">See 3.3.1:<br>
<br>
&quot;If a return type is primitive or is a Java array type, the unrestricted set of bean types contains exactly two types: the<br>
method return type and java.lang.Object.&quot;<br>
<br>
On 01/05/2013 12:11 PM, Arne Limburg wrote:<br>
</div>
<blockquote cite="mid:97621E8BA4D496449BC4D1AB06E0FB70059FAC@K99F-PEXC01.openknowledge.de" type="cite">
<div>
<div>
<div>Hi,</div>
<div><br>
</div>
<div>I just stumbled about the&nbsp;org.jboss.jsr299.tck.tests.implementation.producer.field.definition.ProducerFieldDefinitionTest.testApiTypeForArrayTypeReturn test from the tck,</div>
<div>which tests (among other things) that a bean of type Spider-array has just two types: Spider[].class and Object.class. This makes me wonder, since Spider[] also implements Clonable and Serializable. So my question:</div>
<div><br>
</div>
<div>Do Clonable and Serializable belong to the type closure of a bean? If not, where can I find the corresponding part in the spec?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Arne</div>
<div>
<div></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
cdi-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/cdi-dev">https://lists.jboss.org/mailman/listinfo/cdi-dev</a></pre>
</blockquote>
<br>
</div>
</div>
</span>
</body>
</html>