[weld-issues] [JBoss JIRA] (WELD-2150) Move ActivateThreadScope/ActivateRequestScope to core

2016-05-16 Thread John Ament (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Ament created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2150 
 
 
 
  Move ActivateThreadScope/ActivateRequestScope to core  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Feature Request 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Java SE Support, Scopes & Contexts 
 
 
 

Created:
 

 16/May/16 8:05 AM 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 John Ament 
 
 
 
 
 
 
 
 
 
 
These two interceptors are great, however they're only available in SE mode. Would be great to have them in EE as well. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 

[weld-issues] [JBoss JIRA] (WELD-2150) Move ActivateThreadScope/ActivateRequestScope to core

2016-05-16 Thread John Ament (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Ament updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2150 
 
 
 
  Move ActivateThreadScope/ActivateRequestScope to core  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Ament 
 
 
 

Affects Version/s:
 
 2.3.4.Final 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-2150) Move ActivateThreadScope/ActivateRequestScope to core

2016-05-16 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba commented on  WELD-2150 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Move ActivateThreadScope/ActivateRequestScope to core  
 
 
 
 
 
 
 
 
 
 
Yes, we've been thinking about this as well. The problem is EE users usually don't depend on Weld API but CDI or Java EE APIs. And adding Weld API would make their applications unportable. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-2150) Move ActivateThreadScope/ActivateRequestScope to core

2016-05-16 Thread John Ament (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Ament commented on  WELD-2150 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Move ActivateThreadScope/ActivateRequestScope to core  
 
 
 
 
 
 
 
 
 
 
It wouldn't do much harm. I use it as a provided dependency for access to BoundRequestContext today for example. It would still be accessible to SE users as well. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-2149) Weld build fails on checkstyle with JDK9

2016-05-16 Thread Matej Novotny (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Matej Novotny commented on  WELD-2149 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Weld build fails on checkstyle with JDK9  
 
 
 
 
 
 
 
 
 
 
I checked the PRs locally (and added a comment/question to one of them). 
But even with the PRs there are some obstacles: 
 

Firstly it would be Weld SE core which fails as soon as Groovy compiler comes into play. I am a total Groovy greenhorn so correct me if I am wrong, but as I browsed through different internet sources I couldn't find a version which would support JDK 9 properly. Not to mention their CI builds for JDK 9 seems to be constantly failing.. 
 

We have several tests there with groovy code and Weld, I suppose that is a showcase of our integration
 

Upon building weld, a groovy compiler gets invoked which is the root of failure here
 

Updating to latest version does not help (there are three different groovy-related artifacts btw)
 

ATM it seems we cannot do much to help this
 

As a workaround we might want to create a profile auto-activated with jdk 1.9 which will skip groovy compilation
 
 
 
 
 

Secondly, the tests you mentioned 
 

If we manage to cut of the groovy stuff, it would make sense to resolve the test problems, then we might have a working jdk 9 build
 

I'll check further on that, I suppose (and hope) the test failures will be minor issues
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
   

[weld-issues] [JBoss JIRA] (WELD-2149) Weld build fails on checkstyle with JDK9

2016-05-16 Thread Matej Novotny (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Matej Novotny commented on  WELD-2149 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Weld build fails on checkstyle with JDK9  
 
 
 
 
 
 
 
 
 
 
The suggested profile can be seen here. With Antoine's PRs and this profile, Weld can be build using as long as you skip tests (e.g. mvn clean install -DskipTests). 
I will now look into the test issues. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-2151) WeldContainer - consider adding get() method variant which returns AutoCloseable wrapper

2016-05-16 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Weld /  WELD-2151 
 
 
 
  WeldContainer - consider adding get() method variant which returns AutoCloseable wrapper  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Feature Request 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Java SE Support 
 
 
 

Created:
 

 16/May/16 10:32 AM 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Martin Kouba 
 
 
 
 
 
 
 
 
 
 
See also http://lists.jboss.org/pipermail/cdi-dev/2016-May/008267.html 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sen

[weld-issues] [JBoss JIRA] (WELD-2149) Weld build fails on checkstyle with JDK9

2016-05-16 Thread Antoine Sabot-Durand (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antoine Sabot-Durand commented on  WELD-2149 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Weld build fails on checkstyle with JDK9  
 
 
 
 
 
 
 
 
 
 
Matej Novotny, There are a lot of issues with building Weld on JDK9. That's the reason why I started by cutting this big task in small pieces. There are issues with the Format helpers (bcel has visibility restriction in JDK 9) Arquillian, the Groovy compiler and perhaps others. Some of them have to be resolved on our side, some on others (Groovy team, Arquillian ?), some may be linked to JDK 9 bug or non finished features. This bug was the first and obviously a problem on our side since tools.jar will never be available in the final JDK 9 release. Others needs exploration and action on our side or ticket raising to other team (Arquillian, Groovy, open JDK). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-2149) Weld build fails on checkstyle with JDK9

2016-05-16 Thread Matej Novotny (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Matej Novotny commented on  WELD-2149 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Weld build fails on checkstyle with JDK9  
 
 
 
 
 
 
 
 
 
 
Yea I already found out about the BCEL (Formats) and possibly Arquillian (Concurrent exceptions jumping around the place) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-2151) WeldContainer - consider adding get() method variant which returns AutoCloseable wrapper

2016-05-16 Thread Martin Kouba (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Kouba commented on  WELD-2151 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: WeldContainer - consider adding get() method variant which returns AutoCloseable wrapper  
 
 
 
 
 
 
 
 
 
 
Note that we would have to wrap Instance to make it usable. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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