[weld-issues] [JBoss JIRA] (WELD-2090) InterceptedSubclassFactory should always use the bean implementation class as a super class

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration commented on  WELD-2090 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InterceptedSubclassFactory should always use the bean implementation class as a super class  
 
 
 
 
 
 
 
 
 
 
baranowb  changed the Status of bug 1306546 from NEW to MODIFIED 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2107) Weld attempts to proxy private methods which can cause issues if the signature contains private types

2016-02-11 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba resolved as Duplicate Issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2107 
 
 
 
  Weld attempts to proxy private methods which can cause issues if the signature contains private types  
 
 
 
 
 
 
 
 
 

Change By:
 
 Martin Kouba 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Duplicate Issue 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2050) Identifier of a producer method does not include the ID of the corresponding BeanManager

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2050 
 
 
 
  Identifier of a producer method does not include the ID of the corresponding BeanManager  
 
 
 
 
 
 
 
 
 

Change By:
 
 RH Bugzilla Integration 
 
 
 

Bugzilla References:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1306551 
 
 
 

Bugzilla Update:
 
 Perform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2019) Weld should ignore synthetic members

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration commented on  WELD-2019 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Weld should ignore synthetic members  
 
 
 
 
 
 
 
 
 
 
baranowb  changed the Status of bug 1306549 from NEW to MODIFIED 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2019) Weld should ignore synthetic members

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2019 
 
 
 
  Weld should ignore synthetic members  
 
 
 
 
 
 
 
 
 

Change By:
 
 RH Bugzilla Integration 
 
 
 

Bugzilla References:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1306549 
 
 
 

Bugzilla Update:
 
 Perform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2050) Identifier of a producer method does not include the ID of the corresponding BeanManager

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration commented on  WELD-2050 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Identifier of a producer method does not include the ID of the corresponding BeanManager  
 
 
 
 
 
 
 
 
 
 
baranowb  changed the Status of bug 1306551 from NEW to MODIFIED 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2090) InterceptedSubclassFactory should always use the bean implementation class as a super class

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2090 
 
 
 
  InterceptedSubclassFactory should always use the bean implementation class as a super class  
 
 
 
 
 
 
 
 
 

Change By:
 
 RH Bugzilla Integration 
 
 
 

Bugzilla References:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1306546 
 
 
 

Bugzilla Update:
 
 Perform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2048) InjectionTargetValidator is not thread-safe

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2048 
 
 
 
  InjectionTargetValidator is not thread-safe  
 
 
 
 
 
 
 
 
 

Change By:
 
 RH Bugzilla Integration 
 
 
 

Bugzilla References:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1306554 
 
 
 

Bugzilla Update:
 
 Perform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2048) InjectionTargetValidator is not thread-safe

2016-02-11 Thread RH Bugzilla Integration (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 RH Bugzilla Integration commented on  WELD-2048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectionTargetValidator is not thread-safe  
 
 
 
 
 
 
 
 
 
 
baranowb  changed the Status of bug 1306554 from NEW to MODIFIED 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2108) Observer resolution fails if payload is a lambda expression

2016-02-11 Thread Antoine Sabot-Durand (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antoine Sabot-Durand created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2108 
 
 
 
  Observer resolution fails if payload is a lambda _expression_  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 3.0.0.Alpha15, 2.3.2.Final 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Events 
 
 
 

Created:
 

 11/Feb/16 9:48 AM 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Antoine Sabot-Durand 
 
 
 
 
 
 
 
 
 
 
When using a lambda in an event payload. Parameter types are lost when resolving observers. 
For instance: 
 
 
 
 
 
 
@Inject 
 
 
 
 
Event stringSupplierEvent; 
 
 
 

[weld-issues] [JBoss JIRA] (WELD-2108) Observer resolution fails if payload is a lambda expression

2016-02-11 Thread Antoine Sabot-Durand (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antoine Sabot-Durand updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2108 
 
 
 
  Observer resolution fails if payload is a lambda _expression_  
 
 
 
 
 
 
 
 
 

Change By:
 
 Antoine Sabot-Durand 
 
 
 
 
 
 
 
 
 
 When using a lambda in an event payload. Parameter types are lost when resolving observers.For instance:{code}@InjectEvent stringSupplierEvent; ... Supplier stringSupplier = () -> "Hello world"; stringSupplierEvent.fire(stringSupplier);{code}will triggers an observer  of  for  {{Supplier}} but not an observer  of  for  {{Supplier}} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2108) Observer resolution fails if payload is a lambda expression

2016-02-11 Thread Antoine Sabot-Durand (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antoine Sabot-Durand commented on  WELD-2108 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Observer resolution fails if payload is a lambda _expression_  
 
 
 
 
 
 
 
 
 
 
It's a well known JDK 8 limitation: http://jdk8-dev.openjdk.java.narkive.com/bSPiKxap/jdk-8-lambda-reflection-issues 
Other projects or specs had to find some trick to solve this issue: https://java.net/jira/browse/WEBSOCKET_SPEC-226 
We should consider adding the declared type of the event (at the injection point) to the set of event type for observer resolution. Right now we only analyze the payload object to get its type closure, which doesn't work for lambdas since Class#getGenericInterfaces() and Class#getGenericSuperclass() always return raw types.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2108) Observer resolution fails if payload is a lambda expression

2016-02-11 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba commented on  WELD-2108 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Observer resolution fails if payload is a lambda _expression_  
 
 
 
 
 
 
 
 
 
 
Ok, so the current behavior is per the spec (event types are derived from the runtime class of the event object). In theory, we could also derive the types from an Event injection point. But we should double check so that we don't break anything. It seems we cannot simply detect a lambda instance. Also this will not help if BeanManager.fire() is used. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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

[weld-issues] [JBoss JIRA] (WELD-2098) ForwardingBeanDeploymentArchive does not delegate getKnownClasses()

2016-02-11 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba resolved as Done 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
https://github.com/weld/api/commit/bb9d74f616eef2706dfbb0e8cebf186c0585938f 
 
 
 
 
 
 
 
 
 
 Weld /  WELD-2098 
 
 
 
  ForwardingBeanDeploymentArchive does not delegate getKnownClasses()  
 
 
 
 
 
 
 
 
 

Change By:
 
 Martin Kouba 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Done 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

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