DeltaSpike not compiling with CDI 2.0/Weld 3

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

DeltaSpike not compiling with CDI 2.0/Weld 3

John Ament

All,


Just as a heads up, not sure if we knew this or not, but presently DeltaSpike does not compile with CDI 2 on the classpath.  DS ships with a number of implementations of Annotated within.   Was getAnnotations intended to be a default method?


John



NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
Reply | Threaded
Open this post in threaded view
|

Re: DeltaSpike not compiling with CDI 2.0/Weld 3

John Ament

Actually I just double checked, as I thought I asked this already


https://github.com/cdi-spec/cdi/pull/330#issuecomment-259986093

So I dug a bit more.  It seems that whatever was released as "2.0.Beta1" doesn't include the default methods.  I'm not sure why but the tag wasn't pushed up to the repo either, so its hard to tell.


John




From: [hidden email] <[hidden email]> on behalf of John Ament <[hidden email]>
Sent: Friday, January 20, 2017 4:50 AM
To: cdi-dev
Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
 

All,


Just as a heads up, not sure if we knew this or not, but presently DeltaSpike does not compile with CDI 2 on the classpath.  DS ships with a number of implementations of Annotated within.   Was getAnnotations intended to be a default method?


John



NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.

NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
Reply | Threaded
Open this post in threaded view
|

Re: DeltaSpike not compiling with CDI 2.0/Weld 3

Matej Novotny
In reply to this post by John Ament
Hi John

It is a known "issue" which I even sent an email about to DS mailing list.

The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of *default* methods which will then not be recognized.
This in the end means that some DS classes (implementing interfaces from CDI where such methods were addded) cannot be compiled as implementation will be missing.

The easiest solution is to compile with --source=1.8 and --target=1.8

Here is the link to the email conversation I originally sent - https://lists.apache.org/list.html?dev@...:2016-12

Regards
Matej

----- Original Message -----

> From: "John Ament" <[hidden email]>
> To: "cdi-dev" <[hidden email]>
> Sent: Friday, January 20, 2017 10:50:45 AM
> Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
>
>
>
> All,
>
>
>
>
> Just as a heads up, not sure if we knew this or not, but presently DeltaSpike
> does not compile with CDI 2 on the classpath. DS ships with a number of
> implementations of Annotated within. Was getAnnotations intended to be a
> default method?
>
>
>
>
> John
>
>
>
>
>
>
> NOTICE: This e-mail message and any attachments may contain confidential,
> proprietary, and/or privileged information which should be treated
> accordingly. If you are not the intended recipient, please notify the sender
> immediately by return e-mail, delete this message, and destroy all physical
> and electronic copies. Thank you.
>
> _______________________________________________
> cdi-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code
> under the Apache License, Version 2
> (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> provided on this list, the provider waives all patent and other intellectual
> property rights inherent in such information.
_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
Reply | Threaded
Open this post in threaded view
|

Re: DeltaSpike not compiling with CDI 2.0/Weld 3

Matej Novotny
Bad link, sorry, here is a permanent one
https://lists.apache.org/thread.html/0cb489f620990037c9eaf16400dd06de7e5a979f8c78c046ab6ff3c1@%3Cdev.deltaspike.apache.org%3E

----- Original Message -----

> From: "Matej Novotny" <[hidden email]>
> To: "John Ament" <[hidden email]>
> Cc: "cdi-dev" <[hidden email]>
> Sent: Friday, January 20, 2017 11:01:07 AM
> Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
>
> Hi John
>
> It is a known "issue" which I even sent an email about to DS mailing list.
>
> The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of
> *default* methods which will then not be recognized.
> This in the end means that some DS classes (implementing interfaces from CDI
> where such methods were addded) cannot be compiled as implementation will be
> missing.
>
> The easiest solution is to compile with --source=1.8 and --target=1.8
>
> Here is the link to the email conversation I originally sent -
> https://lists.apache.org/list.html?dev@...:2016-12
>
> Regards
> Matej
>
> ----- Original Message -----
> > From: "John Ament" <[hidden email]>
> > To: "cdi-dev" <[hidden email]>
> > Sent: Friday, January 20, 2017 10:50:45 AM
> > Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
> >
> >
> >
> > All,
> >
> >
> >
> >
> > Just as a heads up, not sure if we knew this or not, but presently
> > DeltaSpike
> > does not compile with CDI 2 on the classpath. DS ships with a number of
> > implementations of Annotated within. Was getAnnotations intended to be a
> > default method?
> >
> >
> >
> >
> > John
> >
> >
> >
> >
> >
> >
> > NOTICE: This e-mail message and any attachments may contain confidential,
> > proprietary, and/or privileged information which should be treated
> > accordingly. If you are not the intended recipient, please notify the
> > sender
> > immediately by return e-mail, delete this message, and destroy all physical
> > and electronic copies. Thank you.
> >
> > _______________________________________________
> > cdi-dev mailing list
> > [hidden email]
> > https://lists.jboss.org/mailman/listinfo/cdi-dev
> >
> > Note that for all code provided on this list, the provider licenses the
> > code
> > under the Apache License, Version 2
> > (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> > provided on this list, the provider waives all patent and other
> > intellectual
> > property rights inherent in such information.
> _______________________________________________
> cdi-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code
> under the Apache License, Version 2
> (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> provided on this list, the provider waives all patent and other intellectual
> property rights inherent in such information.
>
_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
Reply | Threaded
Open this post in threaded view
|

Re: DeltaSpike not compiling with CDI 2.0/Weld 3

Romain Manni-Bucau
Is it still on 2.0? J6 code should still run for backward compatibility.

Le 20 janv. 2017 11:05, "Matej Novotny" <[hidden email]> a écrit :
Bad link, sorry, here is a permanent one
https://lists.apache.org/thread.html/0cb489f620990037c9eaf16400dd06de7e5a979f8c78c046ab6ff3c1@%3Cdev.deltaspike.apache.org%3E

----- Original Message -----
> From: "Matej Novotny" <[hidden email]>
> To: "John Ament" <[hidden email]>
> Cc: "cdi-dev" <[hidden email]>
> Sent: Friday, January 20, 2017 11:01:07 AM
> Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
>
> Hi John
>
> It is a known "issue" which I even sent an email about to DS mailing list.
>
> The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of
> *default* methods which will then not be recognized.
> This in the end means that some DS classes (implementing interfaces from CDI
> where such methods were addded) cannot be compiled as implementation will be
> missing.
>
> The easiest solution is to compile with --source=1.8 and --target=1.8
>
> Here is the link to the email conversation I originally sent -
> https://lists.apache.org/list.html?dev@....org:2016-12
>
> Regards
> Matej
>
> ----- Original Message -----
> > From: "John Ament" <[hidden email]>
> > To: "cdi-dev" <[hidden email]>
> > Sent: Friday, January 20, 2017 10:50:45 AM
> > Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
> >
> >
> >
> > All,
> >
> >
> >
> >
> > Just as a heads up, not sure if we knew this or not, but presently
> > DeltaSpike
> > does not compile with CDI 2 on the classpath. DS ships with a number of
> > implementations of Annotated within. Was getAnnotations intended to be a
> > default method?
> >
> >
> >
> >
> > John
> >
> >
> >
> >
> >
> >
> > NOTICE: This e-mail message and any attachments may contain confidential,
> > proprietary, and/or privileged information which should be treated
> > accordingly. If you are not the intended recipient, please notify the
> > sender
> > immediately by return e-mail, delete this message, and destroy all physical
> > and electronic copies. Thank you.
> >
> > _______________________________________________
> > cdi-dev mailing list
> > [hidden email]
> > https://lists.jboss.org/mailman/listinfo/cdi-dev
> >
> > Note that for all code provided on this list, the provider licenses the
> > code
> > under the Apache License, Version 2
> > (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> > provided on this list, the provider waives all patent and other
> > intellectual
> > property rights inherent in such information.
> _______________________________________________
> cdi-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code
> under the Apache License, Version 2
> (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> provided on this list, the provider waives all patent and other intellectual
> property rights inherent in such information.
>
_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.

_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
Reply | Threaded
Open this post in threaded view
|

Re: DeltaSpike not compiling with CDI 2.0/Weld 3

John Ament
In reply to this post by Matej Novotny

Matej,


Ok, so now I understand better what you were trying to say in your email.  Some context may have helped, e.g. "hey guys when compiling with Java 6 the compiler ignores the default flag on an interface and expects it to be implemented .. therefore blah blah blah..."


I think I can push up a fix.   Tks.


John




From: Matej Novotny <[hidden email]>
Sent: Friday, January 20, 2017 5:04 AM
To: John Ament
Cc: cdi-dev
Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
 
Bad link, sorry, here is a permanent one
https://lists.apache.org/thread.html/0cb489f620990037c9eaf16400dd06de7e5a979f8c78c046ab6ff3c1@%3Cdev.deltaspike.apache.org%3E

----- Original Message -----
> From: "Matej Novotny" <[hidden email]>
> To: "John Ament" <[hidden email]>
> Cc: "cdi-dev" <[hidden email]>
> Sent: Friday, January 20, 2017 11:01:07 AM
> Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
>
> Hi John
>
> It is a known "issue" which I even sent an email about to DS mailing list.
>
> The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of
> *default* methods which will then not be recognized.
> This in the end means that some DS classes (implementing interfaces from CDI
> where such methods were addded) cannot be compiled as implementation will be
> missing.
>
> The easiest solution is to compile with --source=1.8 and --target=1.8
>
> Here is the link to the email conversation I originally sent -
> https://lists.apache.org/list.html?dev@...:2016-12
>
> Regards
> Matej
>
> ----- Original Message -----
> > From: "John Ament" <[hidden email]>
> > To: "cdi-dev" <[hidden email]>
> > Sent: Friday, January 20, 2017 10:50:45 AM
> > Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
> >
> >
> >
> > All,
> >
> >
> >
> >
> > Just as a heads up, not sure if we knew this or not, but presently
> > DeltaSpike
> > does not compile with CDI 2 on the classpath. DS ships with a number of
> > implementations of Annotated within. Was getAnnotations intended to be a
> > default method?
> >
> >
> >
> >
> > John
> >
> >
> >
> >
> >
> >
> > NOTICE: This e-mail message and any attachments may contain confidential,
> > proprietary, and/or privileged information which should be treated
> > accordingly. If you are not the intended recipient, please notify the
> > sender
> > immediately by return e-mail, delete this message, and destroy all physical
> > and electronic copies. Thank you.
> >
> > _______________________________________________
> > cdi-dev mailing list
> > [hidden email]
> > https://lists.jboss.org/mailman/listinfo/cdi-dev
lists.jboss.org
List to discuss the development of CDI (the specification) To see the collection of prior postings to the list, visit the cdi-dev Archives.


> >
> > Note that for all code provided on this list, the provider licenses the
> > code
> > under the Apache License, Version 2
> > (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
www.apache.org
Home page of The Apache Software Foundation


> > provided on this list, the provider waives all patent and other
> > intellectual
> > property rights inherent in such information.
> _______________________________________________
> cdi-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/cdi-dev
lists.jboss.org
List to discuss the development of CDI (the specification) To see the collection of prior postings to the list, visit the cdi-dev Archives.


>
> Note that for all code provided on this list, the provider licenses the code
> under the Apache License, Version 2
> (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> provided on this list, the provider waives all patent and other intellectual
> property rights inherent in such information.
>

NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
Reply | Threaded
Open this post in threaded view
|

Re: DeltaSpike not compiling with CDI 2.0/Weld 3

Werner Keil-2
In reply to this post by John Ament
Actually it doesn't in many cases.

We started compiling the JSR 363 API and RI with J6 for support of the largest possible number of runtimes, but Java ME 8 Embedded / CLDC 8 (based on Java SE 7, not 8) would not accept those JARs either.

Once we built it with JDK 7 and J7 compatible settings, it worked.

Werner



On Fri, Jan 20, 2017 at 11:19 AM, <[hidden email]> wrote:
Send cdi-dev mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.jboss.org/mailman/listinfo/cdi-dev
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cdi-dev digest..."


Today's Topics:

   1. Re: DeltaSpike not compiling with CDI 2.0/Weld 3 (John Ament)
   2. Re: DeltaSpike not compiling with CDI 2.0/Weld 3 (Matej Novotny)
   3. Re: DeltaSpike not compiling with CDI 2.0/Weld 3 (Matej Novotny)
   4. Re: DeltaSpike not compiling with CDI 2.0/Weld 3
      (Romain Manni-Bucau)


----------------------------------------------------------------------

Message: 1
Date: Fri, 20 Jan 2017 10:00:48 +0000
From: John Ament <[hidden email]>
Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
To: cdi-dev <[hidden email]>
Message-ID:
        <[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Actually I just double checked, as I thought I asked this already


https://github.com/cdi-spec/cdi/pull/330#issuecomment-259986093


So I dug a bit more.  It seems that whatever was released as "2.0.Beta1" doesn't include the default methods.  I'm not sure why but the tag wasn't pushed up to the repo either, so its hard to tell.


John


________________________________
From: [hidden email] <[hidden email]> on behalf of John Ament <[hidden email]>
Sent: Friday, January 20, 2017 4:50 AM
To: cdi-dev
Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3


All,


Just as a heads up, not sure if we knew this or not, but presently DeltaSpike does not compile with CDI 2 on the classpath.  DS ships with a number of implementations of Annotated within.   Was getAnnotations intended to be a default method?


John


________________________________
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
________________________________
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20170120/8e3a0698/attachment-0001.html

------------------------------

Message: 2
Date: Fri, 20 Jan 2017 05:01:07 -0500 (EST)
From: Matej Novotny <[hidden email]>
Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
To: John Ament <[hidden email]>
Cc: cdi-dev <[hidden email]>
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset=utf-8

Hi John

It is a known "issue" which I even sent an email about to DS mailing list.

The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of *default* methods which will then not be recognized.
This in the end means that some DS classes (implementing interfaces from CDI where such methods were addded) cannot be compiled as implementation will be missing.

The easiest solution is to compile with --source=1.8 and --target=1.8

Here is the link to the email conversation I originally sent - https://lists.apache.org/list.html?dev@....org:2016-12

Regards
Matej

----- Original Message -----
> From: "John Ament" <[hidden email]>
> To: "cdi-dev" <[hidden email]>
> Sent: Friday, January 20, 2017 10:50:45 AM
> Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
>
>
>
> All,
>
>
>
>
> Just as a heads up, not sure if we knew this or not, but presently DeltaSpike
> does not compile with CDI 2 on the classpath. DS ships with a number of
> implementations of Annotated within. Was getAnnotations intended to be a
> default method?
>
>
>
>
> John
>
>
>
>
>
>
> NOTICE: This e-mail message and any attachments may contain confidential,
> proprietary, and/or privileged information which should be treated
> accordingly. If you are not the intended recipient, please notify the sender
> immediately by return e-mail, delete this message, and destroy all physical
> and electronic copies. Thank you.
>
> _______________________________________________
> cdi-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code
> under the Apache License, Version 2
> (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> provided on this list, the provider waives all patent and other intellectual
> property rights inherent in such information.


------------------------------

Message: 3
Date: Fri, 20 Jan 2017 05:04:02 -0500 (EST)
From: Matej Novotny <[hidden email]>
Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
To: John Ament <[hidden email]>
Cc: cdi-dev <[hidden email]>
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset=utf-8

Bad link, sorry, here is a permanent one
https://lists.apache.org/thread.html/0cb489f620990037c9eaf16400dd06de7e5a979f8c78c046ab6ff3c1@%3Cdev.deltaspike.apache.org%3E

----- Original Message -----
> From: "Matej Novotny" <[hidden email]>
> To: "John Ament" <[hidden email]>
> Cc: "cdi-dev" <[hidden email]>
> Sent: Friday, January 20, 2017 11:01:07 AM
> Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
>
> Hi John
>
> It is a known "issue" which I even sent an email about to DS mailing list.
>
> The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of
> *default* methods which will then not be recognized.
> This in the end means that some DS classes (implementing interfaces from CDI
> where such methods were addded) cannot be compiled as implementation will be
> missing.
>
> The easiest solution is to compile with --source=1.8 and --target=1.8
>
> Here is the link to the email conversation I originally sent -
> https://lists.apache.org/list.html?dev@....org:2016-12
>
> Regards
> Matej
>
> ----- Original Message -----
> > From: "John Ament" <[hidden email]>
> > To: "cdi-dev" <[hidden email]>
> > Sent: Friday, January 20, 2017 10:50:45 AM
> > Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
> >
> >
> >
> > All,
> >
> >
> >
> >
> > Just as a heads up, not sure if we knew this or not, but presently
> > DeltaSpike
> > does not compile with CDI 2 on the classpath. DS ships with a number of
> > implementations of Annotated within. Was getAnnotations intended to be a
> > default method?
> >
> >
> >
> >
> > John
> >
> >
> >
> >
> >
> >
> > NOTICE: This e-mail message and any attachments may contain confidential,
> > proprietary, and/or privileged information which should be treated
> > accordingly. If you are not the intended recipient, please notify the
> > sender
> > immediately by return e-mail, delete this message, and destroy all physical
> > and electronic copies. Thank you.
> >
> > _______________________________________________
> > cdi-dev mailing list
> > [hidden email]
> > https://lists.jboss.org/mailman/listinfo/cdi-dev
> >
> > Note that for all code provided on this list, the provider licenses the
> > code
> > under the Apache License, Version 2
> > (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> > provided on this list, the provider waives all patent and other
> > intellectual
> > property rights inherent in such information.
> _______________________________________________
> cdi-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code
> under the Apache License, Version 2
> (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> provided on this list, the provider waives all patent and other intellectual
> property rights inherent in such information.
>


------------------------------

Message: 4
Date: Fri, 20 Jan 2017 11:18:59 +0100
From: Romain Manni-Bucau <[hidden email]>
Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
To: Matej Novotny <[hidden email]>
Cc: [hidden email]
Message-ID:
        <CACLE=[hidden email]>
Content-Type: text/plain; charset="utf-8"

Is it still on 2.0? J6 code should still run for backward compatibility.

Le 20 janv. 2017 11:05, "Matej Novotny" <[hidden email]> a ?crit :

> Bad link, sorry, here is a permanent one
> https://lists.apache.org/thread.html/0cb489f620990037c9eaf16400dd06
> de7e5a979f8c78c046ab6ff3c1@%3Cdev.deltaspike.apache.org%3E
>
> ----- Original Message -----
> > From: "Matej Novotny" <[hidden email]>
> > To: "John Ament" <[hidden email]>
> > Cc: "cdi-dev" <[hidden email]>
> > Sent: Friday, January 20, 2017 11:01:07 AM
> > Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
> >
> > Hi John
> >
> > It is a known "issue" which I even sent an email about to DS mailing
> list.
> >
> > The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of
> > *default* methods which will then not be recognized.
> > This in the end means that some DS classes (implementing interfaces from
> CDI
> > where such methods were addded) cannot be compiled as implementation
> will be
> > missing.
> >
> > The easiest solution is to compile with --source=1.8 and --target=1.8
> >
> > Here is the link to the email conversation I originally sent -
> > https://lists.apache.org/list.html?dev@....org:2016-12
> >
> > Regards
> > Matej
> >
> > ----- Original Message -----
> > > From: "John Ament" <[hidden email]>
> > > To: "cdi-dev" <[hidden email]>
> > > Sent: Friday, January 20, 2017 10:50:45 AM
> > > Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3
> > >
> > >
> > >
> > > All,
> > >
> > >
> > >
> > >
> > > Just as a heads up, not sure if we knew this or not, but presently
> > > DeltaSpike
> > > does not compile with CDI 2 on the classpath. DS ships with a number of
> > > implementations of Annotated within. Was getAnnotations intended to be
> a
> > > default method?
> > >
> > >
> > >
> > >
> > > John
> > >
> > >
> > >
> > >
> > >
> > >
> > > NOTICE: This e-mail message and any attachments may contain
> confidential,
> > > proprietary, and/or privileged information which should be treated
> > > accordingly. If you are not the intended recipient, please notify the
> > > sender
> > > immediately by return e-mail, delete this message, and destroy all
> physical
> > > and electronic copies. Thank you.
> > >
> > > _______________________________________________
> > > cdi-dev mailing list
> > > [hidden email]
> > > https://lists.jboss.org/mailman/listinfo/cdi-dev
> > >
> > > Note that for all code provided on this list, the provider licenses the
> > > code
> > > under the Apache License, Version 2
> > > (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> > > provided on this list, the provider waives all patent and other
> > > intellectual
> > > property rights inherent in such information.
> > _______________________________________________
> > cdi-dev mailing list
> > [hidden email]
> > https://lists.jboss.org/mailman/listinfo/cdi-dev
> >
> > Note that for all code provided on this list, the provider licenses the
> code
> > under the Apache License, Version 2
> > (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas
> > provided on this list, the provider waives all patent and other
> intellectual
> > property rights inherent in such information.
> >
> _______________________________________________
> cdi-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the
> code under the Apache License, Version 2 (http://www.apache.org/
> licenses/LICENSE-2.0.html). For all other ideas provided on this list,
> the provider waives all patent and other intellectual property rights
> inherent in such information.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20170120/1fc28360/attachment.html

------------------------------

_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html).  For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.

End of cdi-dev Digest, Vol 74, Issue 10
***************************************


_______________________________________________
cdi-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.