[weld-issues] [JBoss JIRA] (CDITCK-449) specify types with @Typed

2014-11-13 Thread Tomas Remes (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tomas Remes resolved as Won't Fix 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 CDI TCK /  CDITCK-449 
 
 
 
  specify types with @Typed  
 
 
 
 
 
 
 
 
 

Change By:
 
 Tomas Remes 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Won'tFix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.8#6338-sha1:68f19fa) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (CDITCK-449) specify types with @Typed

2014-09-22 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba commented on  CDITCK-449 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: specify types with @Typed  
 
 
 
 
 
 
 
 
 
 
Although the spec does not explicitly define when is the @Typed restriction applied, it's clear that it's restricting the set of bean types (one of the bean attributes). Since Annotated interfaces are used to specify/override metadata on a bean class and not to define a bean itself, I believe that the restriction should be applied later (when BeanAttributes are built). So I'm in favor to reject this issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.1#6329-sha1:7df76f1) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (CDITCK-449) specify types with @Typed

2014-09-22 Thread Mark Struberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Struberg commented on  CDITCK-449 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: specify types with @Typed  
 
 
 
 
 
 
 
 
 
 
But in that case Annotated#getTypeClosures() would be totally useless and always be the same as getBaseType() + superclasses. The description of Annotated#getTypeClosure() strongly indicates that @Typed must get applied to AnnotatedType already. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.1#6329-sha1:7df76f1) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (CDITCK-449) specify types with @Typed

2014-09-22 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba commented on  CDITCK-449 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: specify types with @Typed  
 
 
 
 
 
 
 
 
 
 
 
But in that case Annotated#getTypeClosures() would be totally useless and always be the same as getBaseType() + superclasses.
 
No, it's not. I can imagine a portable extension which performs a restriction similar to @Typed based on different source of metadata (XML, different annotation, ...), i.e. the extension can override the type closure read from the bean class. 
 
The description of Annotated#getTypeClosure() strongly indicates that @Typed must get applied to AnnotatedType already.
 
I don't share the same opinion. Which part of the following sentence from 11.4. Alternative metadata sources is relevant? 
 
getTypeClosure() returns all types to which the base type should be considered assignable.
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.1#6329-sha1:7df76f1) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (CDITCK-449) specify types with @Typed

2014-09-22 Thread Tomas Remes (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tomas Remes commented on  CDITCK-449 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: specify types with @Typed  
 
 
 
 
 
 
 
 
 
 
Look's like consensus is not reachable on this. Mark Struberg can you please open an CDI clarification issue? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.1#6329-sha1:7df76f1) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (CDITCK-449) specify types with @Typed

2014-09-20 Thread Reinhard Sandtner (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Reinhard Sandtner created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 CDI TCK /  CDITCK-449 
 
 
 
  specify types with @Typed  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 1.2.2.Final 
 
 
 

Assignee:
 
 Tomas Remes 
 
 
 

Created:
 

 20/Sep/14 2:48 PM 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Reinhard Sandtner 
 
 
 
 
 
 
 
 
 
 
according the spec, if a @Typed-annotation is explicit specified, only the types which are listed and java.lang.Object are bean types of the bean. 
the org.jboss.cdi.tck.tests.extensions.beanManager.beanAttributes.CreateBeanAttributesTest#testBeanAttributesForManagedBeanWithModifiedAnnotatedType expects the specified type and Object but also the type of the annotated class (Mountain). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 

[weld-issues] [JBoss JIRA] (CDITCK-449) specify types with @Typed

2014-09-20 Thread Reinhard Sandtner (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Reinhard Sandtner updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 CDI TCK /  CDITCK-449 
 
 
 
  specify types with @Typed  
 
 
 
 
 
 
 
 
 

Change By:
 
 Reinhard Sandtner 
 
 
 

Git Pull Request:
 
 https://github.com/cdi-spec/cdi-tck/pull/89 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.1#6329-sha1:7df76f1) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues