<div dir="ltr">Antoine/all,<div><br></div><div>Thanks for sharing. I also had a discussion (in his own Spring blog) with Jürgen mainly about modularity, and the JDK minimum requirements for Spring 4.x. He confirmed, the "core" components of Spring 4.1 still run under as low as Java 6, while some modules that can be dynamically (Spring-DM aka OSGi;-) added may directly refer to Java 8, in which case you must run SE 8 or higher.</div><div><br></div><div>So while for Java 6/7 or below version of @Inject.next this:</div><div><br></div><div><span id="docs-internal-guid-6da2a66c-54bd-1d31-a774-e2dbece0ab6e"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,128);font-weight:bold;vertical-align:baseline;white-space:pre-wrap">public interface </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">Provider<</span><span style="font-size:12px;font-family:'Courier New';color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">> </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,128);font-weight:bold;vertical-align:baseline;white-space:pre-wrap">extends </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">Iterable<</span><span style="font-size:12px;font-family:'Courier New';color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">> {</span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><br class=""></span></p><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"> /**</span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"><br class=""></span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"> * Provides a fully-constructed and injected instance of {</span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-weight:bold;font-style:italic;vertical-align:baseline;white-space:pre-wrap">@code </span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap">T}.</span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"><br class=""></span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"> */</span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"><br class=""></span><span style="font-size:12px;font-family:'Courier New';color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:12px;font-family:'Courier New';color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">get();</span></span><br></div><div class="gmail_extra">[...]</div><div class="gmail_extra"><br></div><div class="gmail_extra">looks fine, it seemed more than consequent, if you did</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,128);font-weight:bold;vertical-align:baseline;white-space:pre-wrap">public interface </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">Provider<</span><span style="font-size:12px;font-family:'Courier New';color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">> </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,128);font-weight:bold;vertical-align:baseline;white-space:pre-wrap">extends </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">Iterable<</span><span style="font-size:12px;font-family:'Courier New';color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">>, </span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">Supplier<</span><span style="font-size:12px;font-family:'Courier New';color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:'Courier New';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">></span><span style="color:rgb(0,0,0);font-family:'Courier New';font-size:12px;white-space:pre-wrap"> {</span></div><div class="gmail_extra">[...]</div><div class="gmail_extra"><br></div><div class="gmail_extra">in a Java 8+ case;-)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Even without looking at Lambdas here in greater detail, it reused what Java SE 8 introduced.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Again, that is something you, Bob, Jürgen and maybe the EE 8 Spec Leads should discuss, what the reasonable minimum requirements for @Inject.next are, if it's SE 8 or a lower version, though those of course may always stick with the previous ones...</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-family:arial,sans-serif">
<p style="margin:0px;font-size:13px;border-collapse:collapse"><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><span style="font-family:Helvetica"><span style="font-family:Calibri;font-size:12px"></span></span></span></p>
<div><font face="Arial"><span style="font-family:arial,sans-serif">
<p style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri">Werner</span></p><p style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri"><br></span></p></span></font></div></span></div></div><div class="gmail_quote">On Mon, Sep 8, 2014 at 12:06 PM, <span dir="ltr"><<a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">cdi-dev-request@lists.jboss.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Send cdi-dev mailing list submissions to<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:cdi-dev-request@lists.jboss.org">cdi-dev-request@lists.jboss.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:cdi-dev-owner@lists.jboss.org">cdi-dev-owner@lists.jboss.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of cdi-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. [JBoss JIRA] (CDI-456) fix Bean#getBeanClass() definition<br>
(Romain Manni-Bucau (JIRA))<br>
2. Enhancement proposition to JSR 330 (Antoine Sabot-Durand)<br>
3. Re: With the end of Java Config... (Werner Keil)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 8 Sep 2014 12:03:36 +0200<br>
From: Antoine Sabot-Durand <<a href="mailto:antoine@sabot-durand.net">antoine@sabot-durand.net</a>><br>
Subject: [cdi-dev] Enhancement proposition to JSR 330<br>
To: cdi-dev <<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>><br>
Message-ID: <<a href="mailto:D8CD5D26-82DB-4F64-89C5-93AD467FBC0B@sabot-durand.net">D8CD5D26-82DB-4F64-89C5-93AD467FBC0B@sabot-durand.net</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi all,<br>
<br>
<br>
I received an answer from Bob Lee (off list). He likes te idea of us providing a proposal document. So I worked on it this WE.<br>
Here it is : <a href="https://docs.google.com/document/d/1KCzqodA8uzXED5DJrEUyl0x3dOUB5mBwL4KcV8xUY_w/edit?usp=sharing" target="_blank">https://docs.google.com/document/d/1KCzqodA8uzXED5DJrEUyl0x3dOUB5mBwL4KcV8xUY_w/edit?usp=sharing</a> <<a href="https://docs.google.com/document/d/1KCzqodA8uzXED5DJrEUyl0x3dOUB5mBwL4KcV8xUY_w/edit?usp=sharing" target="_blank">https://docs.google.com/document/d/1KCzqodA8uzXED5DJrEUyl0x3dOUB5mBwL4KcV8xUY_w/edit?usp=sharing</a>><br>
<br>
Your comments and proposal are most welcome. I propose we discuss this point during our next meeting, and if we agree on the final content send it asap to have Bob and Juergen feeling about these suggestion.<br>
<br>
<br>
Antoine<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.jboss.org/pipermail/cdi-dev/attachments/20140908/607a6499/attachment-0001.html" target="_blank">http://lists.jboss.org/pipermail/cdi-dev/attachments/20140908/607a6499/attachment-0001.html</a><br>
<br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
<br>
End of cdi-dev Digest, Vol 46, Issue 42<br>
***************************************<br>
</blockquote></div><br></div></div>