<div dir="ltr">Antoine,<div><br></div><div>As seen, there could be Spring or other stakeholders who prefer either minimum JDK, so let&#39;s see if they actually propose it what they suggest (or in a draft upfront like some JSRs like MVC and others did) </div><div><br></div><div>Werner</div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 8, 2014 at 4:09 PM, Antoine Sabot-Durand <span dir="ltr">&lt;<a href="mailto:antoine@sabot-durand.net" target="_blank">antoine@sabot-durand.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Werner,</div><div><br></div><div>Java EE 8 target is JDK 8 as we said before. But te goal of this document is not to discuss with Bob and Juergen how they should use JDK 8 within their spec, but to see if are willing to discuss our suggestion. When we’ll find a general agreement it will be useful to go into such details.</div><div><br></div><div>Antoine</div><div><br></div><br><div><blockquote type="cite"><div>Le 8 sept. 2014 à 12:20, Werner Keil &lt;<a href="mailto:werner.keil@gmail.com" target="_blank">werner.keil@gmail.com</a>&gt; a écrit :</div><div><div class="h5"><br><div><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 &quot;core&quot; 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><div style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:&#39;Courier New&#39;;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:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">Provider&lt;</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">&gt; </span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(0,0,128);font-weight:bold;vertical-align:baseline;white-space:pre-wrap">extends </span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">Iterable&lt;</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">&gt; {</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap"><br></span></div><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap">  /**</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:12px;font-family:&#39;Courier New&#39;;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:&#39;Courier New&#39;;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:&#39;Courier New&#39;;color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap">T}.</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap">   */</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(128,128,128);font-style:italic;vertical-align:baseline;white-space:pre-wrap">  </span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T </span><span style="font-size:12px;font-family:&#39;Courier New&#39;;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:&#39;Courier New&#39;;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:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">Provider&lt;</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">&gt; </span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(0,0,128);font-weight:bold;vertical-align:baseline;white-space:pre-wrap">extends </span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">Iterable&lt;</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">&gt;, </span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">Supplier&lt;</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;color:rgb(32,153,157);vertical-align:baseline;white-space:pre-wrap">T</span><span style="font-size:12px;font-family:&#39;Courier New&#39;;vertical-align:baseline;white-space:pre-wrap">&gt;</span><span style="font-family:&#39;Courier New&#39;;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&#39;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="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"><div style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri">Werner</span></div><div style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri"><br></span></div></span></font></div></span></div></div><div class="gmail_quote">On Mon, Sep 8, 2014 at 12:06 PM,  <span dir="ltr">&lt;<a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">cdi-dev-request@lists.jboss.org</a>&gt;</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" target="_blank">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 &#39;help&#39; to<br>
        <a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">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" target="_blank">cdi-dev-owner@lists.jboss.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of cdi-dev digest...&quot;<br>
<br>
<br>
Today&#39;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 &lt;<a href="mailto:antoine@sabot-durand.net" target="_blank">antoine@sabot-durand.net</a>&gt;<br>
Subject: [cdi-dev] Enhancement proposition to JSR 330<br>
To: cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:D8CD5D26-82DB-4F64-89C5-93AD467FBC0B@sabot-durand.net" target="_blank">D8CD5D26-82DB-4F64-89C5-93AD467FBC0B@sabot-durand.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<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> &lt;<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>&gt;<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" target="_blank">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>
_______________________________________________<br>cdi-dev mailing list<br><a href="mailto:cdi-dev@lists.jboss.org" target="_blank">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.</div></div></div></blockquote></div><br></div></blockquote></div><br></div></div>