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 <manovotn(a)redhat.com>
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/0cb489f620990037c9eaf16400dd06de7e5a...
----- Original Message -----
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 cdi-dev Info Page - JBoss
Developer<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
Apache
License, Version
2.0<http://www.apache.org/licenses/LICENSE-2.0.html>
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
cdi-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev cdi-dev Info Page - JBoss
Developer<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.