<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">See 3.3.1:<br>
<br>
"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."<br>
<br>
On 01/05/2013 12:11 PM, Arne Limburg wrote:<br>
</div>
<blockquote
cite="mid:97621E8BA4D496449BC4D1AB06E0FB70059FAC@K99F-PEXC01.openknowledge.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>
<div>
<div>Hi,</div>
<div><br>
</div>
<div>I just stumbled about
the 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>
</body>
</html>