<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>jdt-core-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/maillist.html</link>
		<description>jdt-core-dev</description>
		<language>en-us</language>
		<pubDate>Fri, 17 May 2013 05:40:08 GMT</pubDate>
		<lastBuildDate>Fri, 17 May 2013 05:40:08 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>jdt-core-dev</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/maillist.html</link>
		</image>
 

	<item>
		<title>Re: [jdt-core-dev] Compiling against JDK8 but staying compatible with	1.7 bytecode</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02300.html</link>
		<description> Our understanding of the overall mix and match scenarios with Java 8 is still evolving and so I doubt that we can already give an official position on this - When we raised some questions on the JSR expert groups regarding this topic, we basically heard (...</description>
		<content:encoded><![CDATA[<pre>&gt; From: Tom Schindl &lt;tom.schindl@xxxxxxxxxxxxxxx&gt;
&gt; Subject: [jdt-core-dev] Compiling against JDK8 but staying

&gt; Hi,
&gt;
&gt; I'm in the position that I have to compile against JDK8 (because of
&gt; libraries contained in there) but the .class file should still be
&gt; useable in Java7.

Our understanding of the overall mix and match scenarios with Java 8
is still evolving and so I doubt that we can already give an
official position on this - When we raised some questions on the
JSR expert groups regarding this topic, we basically heard (paraphrasing)
that it is early and to come back with the questions after a few
months once things have stabilized.

We need some clarification here: Are you saying that the class files
produced would need to executable by both JVM7 and JVM8 ?  In the
former case, how do you propose to get JVM7 to load the classes/APIs
referenced from JDK8 ?

The scenario you describe is a bit different from the one discussed
in the bug you cite: <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=390889">https://bugs.eclipse.org/bugs/show_bug.cgi?id=390889</a>,
which is about Java 7- source projects with build time class path
consisting of JRE8.

&gt; Now I tried put the following settings in a project which runs against
&gt; the BETA_JAVA8 branch.

In general, eclipse requires the compliance and the target class file
to be higher than the source level - The preferences UI expressly forbids
a user from compiling &quot;down&quot; from a certain source level - though there
have
been certain configurations in this category that seem to have enjoyed
official
or at least semi-official blessing in the past.

&gt; And the code runs fine in Java7 and Java8. My question now is does this
&gt; only work by chance, or is it possible to compile to 1.7 bytecode if no
&gt; 1.8 features are used?

We have numerous tests in our test suite that are very close to this
configuration. We take a test, compile it as a 1.3, 1.4, 1.5, 1.6, 1.7
and 1.8 project and run in each case against the same 1.8 JRE to verify
the results. The test suite is also structured to run against previous
JREs in which case we skip the higher levels. Note however that to
accomplish
this in many cases we have had to modify the test (by adding overriding
implementations for default methods) to be able to do that.

Ignoring APIs, purely from a byte code point of view, if you don't use
any Java 8 constructs, you should expect to see the same code stream.
Attributes and such are decided based on the target class file level.
I would think the first order issue to understand is how would these
APIs that constitute the very reason for your move to consider building
against JDK8 be made available in a Java7 execution environment.


Srikanth.




</pre>]]></content:encoded>
		<pubDate>Fri, 17 May 2013 05:36:52 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02300.html</guid>
		<author>srikanth_sankaran@xxxxxxx (Srikanth S Adayapalam)</author>
	</item>


	<item>
		<title>[jdt-core-dev] Welcome Manoj Palat as a new eclipse.jdt.core	Committer</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02299.html</link>
		<description>eclipse.jdt.core Committers, This automatically generated message marks the completion of all the legal paperwork and webmaster provisioning for Manoj Palat. Manoj Palat is a new full Committer on the eclipse.jdt.core project. Welcome! </description>
		<content:encoded><![CDATA[<pre>eclipse.jdt.core Committers,
This automatically generated message marks the completion of all the legal
paperwork and webmaster provisioning for Manoj Palat. Manoj Palat is a new
full Committer on the eclipse.jdt.core project.

Welcome!

</pre>]]></content:encoded>
		<pubDate>Thu, 16 May 2013 13:35:02 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02299.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of Jayaprakash	Arthanareeswaran)</author>
	</item>
	<item>
		<title>[jdt-core-dev] Compiling against JDK8 but staying compatible with	1.7 bytecode</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02298.html</link>
		<description>Hi, I'm in the position that I have to compile against JDK8 (because of libraries contained in there) but the .class file should still be useable in Java7. Now I tried put the following settings in a project which runs against the BETA_JAVA8 branch. As a t...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi,</pre><br>
<tt>I'm in the position that I have to compile against JDK8 (because of 
libraries contained in there) but the .class file should still be 
useable in Java7.</tt><br>
<br>
<tt>Now I tried put the following settings in a project which runs against 
the BETA_JAVA8 branch.</tt><br>
<br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
org.eclipse.jdt.core.compiler.source=1.8
</pre></blockquote><pre style="margin: 0em;"><br>As a test I've created a project which looks like this:</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">import java.util.AbstractList;
import java.util.Comparator;</pre><br>
<pre style="margin: 0em;"><br>public class Test extends AbstractList&lt;String&gt; {
	private String[] internal = {&quot;Hello&quot;,&quot;World&quot;};</pre><br>
<pre style="margin: 0em;">	@Override
	public void sort(Comparator&lt;? super String&gt; c) {
		// TODO Auto-generated method stub
		
	}</pre><br>
<pre style="margin: 0em;">	@Override
	public String get(int index) {
		return internal[index];
	}</pre><br>
<pre style="margin: 0em;">	@Override
	public int size() {
		return internal.length;
	}
	
}
</pre></blockquote><pre style="margin: 0em;"><br></pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">import java.util.function.Consumer;</pre><br>
<pre style="margin: 0em;"><br>public class Bla {</pre><br>
<pre style="margin: 0em;">	public static void main(String[] args) {
		System.err.println(&quot;HELLO WORLD&quot;);
		Test t = new Test();
//		t.forEach(new Consumer&lt;String&gt;() {
//
//			@Override
//			public void accept(String t) {
//				System.err.println(&quot;Value: &quot; + t);
//			}
//		});
		
		for( String s : t ) {
			System.err.println(s);
		}
		
	}</pre><br>
<tt>}
</tt></blockquote><tt><br>And the code runs fine in Java7 and Java8. My question now is does this 
only work by chance, or is it possible to compile to 1.7 bytecode if no 
1.8 features are used?</tt><br>
<br>
<tt>From <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=390889">https://bugs.eclipse.org/bugs/show_bug.cgi?id=390889</a> I somehow 
have the feeling that this is not supposed to work at all.</tt><br>
<br>
<pre style="margin: 0em;">Tom</pre><br>
]]></content:encoded>
		<pubDate>Thu, 16 May 2013 10:29:36 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02298.html</guid>
		<author>tom.schindl@xxxxxxx (Tom Schindl)</author>
	</item>


	<item>
		<title>[jdt-core-dev] Committer vote for Manoj Palat has been approved by	the PMC</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02297.html</link>
		<description>eclipse.jdt.core Committers, This automatically generated message marks the PMC's approval of the vote for Manoj Palat's full Committer status on the eclipse.jdt.core project. The next step is for the project lead to return to the portal and fill in the VC...</description>
		<content:encoded><![CDATA[<pre>eclipse.jdt.core Committers,
This automatically generated message marks the PMC's approval of the vote
for Manoj Palat's full Committer status on the eclipse.jdt.core project.
The next step is for the project lead to return to the portal and fill in
the VCS package and employer information for Manoj Palat.

The PMC's comments were: Welcome!

If you have any questions, please do not hesitate to contact your project
lead, PMC member, or the EMO &lt;emo@xxxxxxxxxxx&gt;


</pre>]]></content:encoded>
		<pubDate>Tue, 14 May 2013 05:49:02 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02297.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of portal-noreply)</author>
	</item>
	<item>
		<title>[jdt-core-dev] Committer vote for Manoj Palat has concluded	successfully</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02296.html</link>
		<description>eclipse.jdt.core Committers, This automatically generated message marks the successful completion of voting for Manoj Palat to receive full Committer status on the eclipse.jdt.core project. The next step is for the PMC to approve this vote, followed by the...</description>
		<content:encoded><![CDATA[<pre>eclipse.jdt.core Committers,
This automatically generated message marks the successful completion of
voting for Manoj Palat to receive full Committer status on the
eclipse.jdt.core project. The next step is for the PMC to approve this
vote, followed by the EMO processing the paperwork and provisioning the
account.

Vote summary: 6/0/0 with 7 not voting 
  +1  Jayaprakash Arthanareeswaran
   ?  David Audel
   ?  Frederic Fusier
   ?  Walter Harley
  +1  Stephan Herrmann
   ?  Ayushman Jain
   ?  Satyam Kandula
  +1  Markus Keller
   ?  Jerome Lanneluc
  +1  Jesper Moller
   ?  Philippe Mulet
  +1  Srikanth Sankaran
  +1  Olivier Thomann

If you have any questions, please do not hesitate to contact your project
lead, PMC member, or the EMO &lt;emo@xxxxxxxxxxx&gt;


</pre>]]></content:encoded>
		<pubDate>Tue, 14 May 2013 04:01:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02296.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of )</author>
	</item>


	<item>
		<title>[jdt-core-dev] +1 for Manoj Palat on eclipse.jdt.core by Stephan	Herrmann</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02295.html</link>
		<description>Stephan Herrmann voted: +1 Welcome! Voting summary: http://portal.eclipse.org/ </description>
		<content:encoded><![CDATA[<pre>Stephan Herrmann voted:
    +1
Welcome!

Voting summary: <a  href="http://portal.eclipse.org/">http://portal.eclipse.org/</a>



</pre>]]></content:encoded>
		<pubDate>Tue, 07 May 2013 12:20:02 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02295.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of )</author>
	</item>


	<item>
		<title>[jdt-core-dev] +1 for Manoj Palat on eclipse.jdt.core by Olivier	Thomann</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02294.html</link>
		<description>Olivier Thomann voted: +1 Welcome Voting summary: http://portal.eclipse.org/ </description>
		<content:encoded><![CDATA[<pre>Olivier Thomann voted:
    +1
Welcome

Voting summary: <a  href="http://portal.eclipse.org/">http://portal.eclipse.org/</a>



</pre>]]></content:encoded>
		<pubDate>Mon, 06 May 2013 13:01:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02294.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of )</author>
	</item>
	<item>
		<title>[jdt-core-dev] +1 for Manoj Palat on eclipse.jdt.core by Jesper	Moller</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02293.html</link>
		<description>Jesper Moller voted: +1 Welcome, Manoj! Voting summary: http://portal.eclipse.org/ </description>
		<content:encoded><![CDATA[<pre>Jesper Moller voted:
    +1
Welcome, Manoj!

Voting summary: <a  href="http://portal.eclipse.org/">http://portal.eclipse.org/</a>



</pre>]]></content:encoded>
		<pubDate>Mon, 06 May 2013 10:15:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02293.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of )</author>
	</item>
	<item>
		<title>[jdt-core-dev] +1 for Manoj Palat on eclipse.jdt.core by Markus	Keller</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02292.html</link>
		<description>Markus Keller voted: +1 Voting summary: http://portal.eclipse.org/ </description>
		<content:encoded><![CDATA[<pre>Markus Keller voted:
    +1
+1

Voting summary: <a  href="http://portal.eclipse.org/">http://portal.eclipse.org/</a>



</pre>]]></content:encoded>
		<pubDate>Mon, 06 May 2013 10:14:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02292.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of )</author>
	</item>
	<item>
		<title>[jdt-core-dev] +1 for Manoj Palat on eclipse.jdt.core by Srikanth	Sankaran</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02291.html</link>
		<description>Srikanth Sankaran voted: +1 Welcome Manoj. Thanks for all the past contributions, look forward to continued collaboration. Voting summary: http://portal.eclipse.org/ </description>
		<content:encoded><![CDATA[<pre>Srikanth Sankaran voted:
    +1
Welcome Manoj. Thanks for all the
past contributions, look forward to
continued collaboration.

Voting summary: <a  href="http://portal.eclipse.org/">http://portal.eclipse.org/</a>



</pre>]]></content:encoded>
		<pubDate>Mon, 06 May 2013 09:15:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-core-dev/msg02291.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of )</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
