<div dir="ltr">However, I can see if PushEE really uses much of JDK 7.<div><br></div><div style>but the vert.x wrapper, for SimplePush, must relay on JDK7, since.... that&#39;s target of vert.x</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 8:37 AM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">what&#39;s wrong when some use JDK7 (e.g. SimplePush/PushEE) and some use JDK6 (e.g. Android, OTP) ?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 8:31 AM, Karel Piwko <span dir="ltr">&lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I still don&#39;t get it.<br>
<br>
How am I supposed to run code compiled with -target 1.7 on JDK6?<br>
This will throw UnsupportedClassVersionError.<br>
<br>
The only way how to test on both JDK6 and JDK7 is to have code compiled against<br>
target 1.6. And this would require source 1.6. So, if Vert.x (1.3.1 and<br>
2.0.0.beta3 targets JDK7) and Netty (4.0.0.CR3 targets JDK6) are compiled<br>
targeting JDK7, testing on JDK6 is out of scope.<br>
<span><font color="#888888"><br>
Karel<br>
</font></span><div><div><br>
On Wed, 29 May 2013 10:43:32 -0300<br>
Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt; wrote:<br>
<br>
&gt; Security has dependency with other projects, so just in case I&#39;m testing<br>
&gt; it against both<br>
&gt; <a href="https://github.com/aerogear/aerogear-security-picketlink/blob/master/.travis.yml#L3" target="_blank">https://github.com/aerogear/aerogear-security-picketlink/blob/master/.travis.yml#L3</a><br>
&gt;<br>
&gt; Also OTP must support Android and the backend, testing both for the same<br>
&gt; reason.<br>
&gt;<br>
&gt; Matthias Wessendorf wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, May 29, 2013 at 3:39 PM, Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a><br>
&gt; &gt; &lt;mailto:<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;     Only for Android as Summers already mentioned.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; yeah - I ment for JDK7 on all other things, besides Android :)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;     Matthias Wessendorf wrote:<br>
&gt; &gt;      &gt; Honestly, I don&#39;t see a huge issue with JDK 7....<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt; On Wed, May 29, 2013 at 3:35 PM, Karel Piwko &lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;<br>
&gt; &gt;      &gt; &lt;mailto:<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a> &lt;mailto:<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;&gt;&gt; wrote:<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;     Good to know. I haven&#39;t seen any enforcer plugin rule and<br>
&gt; &gt;     compiler<br>
&gt; &gt;      &gt;     plugin is set<br>
&gt; &gt;      &gt;     to 1.6, so I though it is still on JDK6.<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;     Karel<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;       On Wed, 29 May 2013 15:27:48 +0200<br>
&gt; &gt;      &gt;     Daniel Bevenius &lt;<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;<br>
&gt; &gt;      &gt; &lt;mailto:<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;&gt;&gt; wrote:<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt; &gt; Hi,<br>
&gt; &gt;      &gt; &gt;<br>
&gt; &gt;      &gt; &gt; SimplePush Server uses Netty 4 and now also vert.x<br>
&gt; &gt;      &gt;     (2.0.0-beta4-SNAPSHOT)<br>
&gt; &gt;      &gt; &gt; which both require Java 7. So it&#39;s not only PushEE anymore that<br>
&gt; &gt;      &gt;     has this<br>
&gt; &gt;      &gt; &gt; requirement.<br>
&gt; &gt;      &gt; &gt;<br>
&gt; &gt;      &gt; &gt; cheers,<br>
&gt; &gt;      &gt; &gt;<br>
&gt; &gt;      &gt; &gt; /Dan<br>
&gt; &gt;      &gt; &gt;<br>
&gt; &gt;      &gt; &gt;<br>
&gt; &gt;      &gt; &gt; On 29 May 2013 15:11, Karel Piwko &lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;<br>
&gt; &gt;      &gt; &lt;mailto:<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a> &lt;mailto:<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;&gt;&gt; wrote:<br>
&gt; &gt;      &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; Hi,<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; Most of the code is JDK6, except PushEE which requires JDK 6.<br>
&gt; &gt;      &gt;     Android<br>
&gt; &gt;      &gt; &gt; &gt; requires<br>
&gt; &gt;      &gt; &gt; &gt; JDK 6 API as well, thanks Summers for pointing that out. The<br>
&gt; &gt;      &gt;     only component<br>
&gt; &gt;      &gt; &gt; &gt; that requires JDK7 is PushEE afaict.<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; So, even if JDK 6 is officially EOLed (at least Oracle&#39;s one),<br>
&gt; &gt;      &gt;     I&#39;d prefer<br>
&gt; &gt;      &gt; &gt; &gt; to<br>
&gt; &gt;      &gt; &gt; &gt; limit our code to JDK6 features. Does it make sense?<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; I can setup animal sniffer plugin to enforce JDK API<br>
&gt; &gt;      &gt;     conformance and<br>
&gt; &gt;      &gt; &gt; &gt; send PRs if you will - btw, do you guys already have a common<br>
&gt; &gt;      &gt;     parent with<br>
&gt; &gt;      &gt; &gt; &gt; plugin<br>
&gt; &gt;      &gt; &gt; &gt; configuration?<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; The other question is default runtime. Would you guys recommend<br>
&gt; &gt;      &gt;     JDK7 or<br>
&gt; &gt;      &gt; &gt; &gt; JDK6?<br>
&gt; &gt;      &gt; &gt; &gt; I&#39;m biased here to decide myself.<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; Thanks,<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; Karel<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt;      &gt; &gt; &gt; aerogear-dev mailing list<br>
&gt; &gt;      &gt; &gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;<br>
&gt; &gt;     &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;&gt;<br>
&gt; &gt;      &gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;      &gt; &gt; &gt;<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;     _______________________________________________<br>
&gt; &gt;      &gt;     aerogear-dev mailing list<br>
&gt; &gt;      &gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;<br>
&gt; &gt;     &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;&gt;<br>
&gt; &gt;      &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt; --<br>
&gt; &gt;      &gt; Matthias Wessendorf<br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt;      &gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt;      &gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt;      &gt;<br>
&gt; &gt;      &gt; _______________________________________________<br>
&gt; &gt;      &gt; aerogear-dev mailing list<br>
&gt; &gt;      &gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;<br>

&gt; &gt;      &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;     _______________________________________________<br>
&gt; &gt;     aerogear-dev mailing list<br>
&gt; &gt;     <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;<br>

&gt; &gt;     <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Matthias Wessendorf<br>
&gt; &gt;<br>
&gt; &gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>

sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>