From: "Matej Novotny" <manovotn(a)redhat.com>
To: "John Ament" <john.ament(a)spartasystems.com>
Cc: "cdi-dev" <cdi-dev(a)lists.jboss.org>
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@deltaspike.apache.org:2016-12
Regards
Matej
----- Original Message -----
> From: "John Ament" <john.ament(a)spartasystems.com>
> To: "cdi-dev" <cdi-dev(a)lists.jboss.org>
> 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
> cdi-dev(a)lists.jboss.org
>
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
cdi-dev(a)lists.jboss.org
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.