[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-19 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny resolved as Rejected  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2505  
 
 
  Weld fails under Java 11   
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Status: 
 Reopened Resolved  
 
 
Resolution: 
 Rejected  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-19 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2505  
 
 
  Weld fails under Java 11   
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Resolution: 
 Done  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-19 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny closed an issue as Done  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Closing issue - this is not a problem on Weld side but a problem with jboss classfilewriter. The PR which should resolve it was already merged, so once jboss cfw gets released and updated in WFLY, it should work.  
 

  
 
 
 
 

 
 Weld /  WELD-2505  
 
 
  Weld fails under Java 11   
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Done  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny commented on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 

I had forgotten our discussion on the PR from 3 weeks ago and had mixed up the outstanding issues; I should have double-checked that. I'll see if I can get a clean run using the updated CFW and we'll go from there.
 No problem, I also tend to mix it up when engaging in too many issues/conversations. Let me know if it solved the issue. For the record, the referenced PR is - https://github.com/jbossas/jboss-classfilewriter/pull/17 

I imagine this happens to you a lot 
 You wouldn't believe it...   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread David Lloyd (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Lloyd commented on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 The most recent CI run is: https://ci.wildfly.org/viewLog.html?buildId=108077&tab=buildResultsDiv&buildTypeId=WF_MasterLinuxJdk11  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread David Lloyd (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Lloyd commented on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 You are right Matej Novotny it does appear to be CFW at fault. I had forgotten our discussion on the PR from 3 weeks ago and had mixed up the outstanding issues; I should have double-checked that. I'll see if I can get a clean run using the updated CFW and we'll go from there.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread David Lloyd (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Lloyd commented on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 Yes, sorry about that Marek Novotny I did intend to ping Matej Novotny. I imagine this happens to you a lot   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny commented on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 The only thing I can think of is classfilewriter which was using Unsafe.defineClass(), else I am not aware of us using that method anywhere.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny edited a comment on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 The only thing I can think of is classfilewriter which was using {{Unsafe.defineClass()}}  (but we are not using that from cfw anyway) , else I am not aware of us using that method anywhere.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny commented on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 David Lloyd WFLY should now use Weld 3.0.4.Final and for that version we already switched to using Unsafe to crack open Cl.defineClass() (from previously setting the method accessible directly). The related issue was WELD-2460. What is the exception you are getting and where is it coming from? Do you have a pointer to some job logs?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2505  
 
 
  Weld fails under Java 11   
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 

  
 
 
 
 

 
 This is a follow-up to an email discussion between [~ manaRH manovotn ] and myself (and a few others).  The WildFly test suite fails under Java 11 because of Weld's usage of {{Unsafe.defineClass}}, which was removed in Java 11.  Previously MODULES-360 was created to provide an alternative approach.  Additionally, it is possible to use reflection to directly invoke {{ClassLoader.defineClass(\*)}} if {{Unsafe}} is used to make the {{Method}} be accessible.This problem blocks testing of WildFly on Java 11.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread Marek Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Marek Novotny commented on  WELD-2505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Weld fails under Java 11   
 

  
 
 
 
 

 
 David Lloyd I guess you mistyped my referenced name, are you in discussion with Matej Novotny ?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread David Lloyd (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Lloyd updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2505  
 
 
  Weld fails under Java 11   
 

  
 
 
 
 

 
Change By: 
 David Lloyd  
 

  
 
 
 
 

 
 This is a follow-up to an email discussion between [~manaRH] and myself (and a few others).  The WildFly test suite fails under Java 11 because of Weld's usage of {{Unsafe.defineClass}}, which was removed in Java 11.  Previously MODULES-360 was created to provide an alternative approach.  Additionally, it is possible to use reflection to directly invoke {{ClassLoader.defineClass( \ *)}} if {{Unsafe}} is used to make the {{Method}} be accessible.This problem blocks testing of WildFly on Java 11.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread David Lloyd (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Lloyd updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2505  
 
 
  Weld fails under Java 11   
 

  
 
 
 
 

 
Change By: 
 David Lloyd  
 
 
Labels: 
 jdk11  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2505) Weld fails under Java 11

2018-06-07 Thread David Lloyd (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Lloyd created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2505  
 
 
  Weld fails under Java 11   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 07/Jun/18 9:03 AM  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 David Lloyd  
 

  
 
 
 
 

 
 This is a follow-up to an email discussion between Marek Novotny and myself (and a few others). The WildFly test suite fails under Java 11 because of Weld's usage of Unsafe.defineClass, which was removed in Java 11. Previously MODULES-360 was created to provide an alternative approach. Additionally, it is possible to use reflection to directly invoke ClassLoader.defineClass if Unsafe is used to make the Method be accessible. This problem blocks testing of WildFly on Java 11.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was se