Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 288548

Summary: Add support for Java SE 7 features
Product: [Eclipse Project] JDT Reporter: John Arthorne <john.arthorne>
Component: CoreAssignee: Srikanth Sankaran <srikanth_sankaran>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: adietish, amj87.iitr, christian, daniel_megert, deepakazad, filipe, jmsachs, kkazmierczyk+eclipse, Lars.Vogel, markus.kell.r, niels, Olivier_Thomann, pwebster, raksha.vasisht, remy.suen, srikanth_sankaran, st.mailinglists, stas, werner.keil
Version: 3.5Keywords: plan
Target Milestone: 3.7.1   
Hardware: All   
OS: All   
Whiteboard:

Description John Arthorne CLA 2009-09-03 15:42:36 EDT
The next feature release of Java SE is version 7, targeted to ship in the first half of 2010. While the contents of this release are still under discussion, this release is expected to contain extensions to the Java language, including annotations on types (JSR-308), modularity support (JSR-294), and other minor language changes (Coin project). Eclipse Java tooling should include initial support for compiling, editing, and launching applications for Java 7.
Comment 1 Srikanth Sankaran CLA 2009-09-03 22:08:45 EDT
JSR308 related work is tracked by bug# 287648 -- FYI, thanks.
Comment 2 Dani Megert CLA 2009-11-06 08:00:17 EST
The JSR308 work is in progress. For the JSR292, JSR294 and project Coin we need to wait for publicly available specifications. This probably means that Java 7 support won't be completely done for the 3.6 release. We might be able to get all we need in time for 3.6.1.
Comment 3 Dani Megert CLA 2010-03-05 10:38:21 EST
In order to align our schedule with the delayed official Java 7 appearance and due to lack of publicly available specifications (including lack of a Java 7 JSR), we have decided to move the development work to a separate branch and decouple it from the 3.6 release. In that branch we will continue to develop the Java 7 features as they become publicly accessible. We will deliver separate updates for the official builds in order to provide early access to Java 7 features.
Comment 4 John Arthorne CLA 2010-09-22 13:18:35 EDT
This item has been added to the Indigo (2011) plan. Here is the new plan wording:


The next feature release of Java SE is version 7, which will probably be available in 2011. This release is expected to contain extensions to the Java language, including support for dynamically-typed languages, and other minor language changes (Coin project). Eclipse Java tooling will include initial support for compiling, editing, and launching applications for Java 7 for those parts which have publicly available specifications.
Comment 5 Werner Keil CLA 2011-01-20 04:16:26 EST
(In reply to comment #1)
> JSR308 related work is tracked by bug# 287648 -- FYI, thanks.

That's not Java 7 yet.
Comment 6 Dani Megert CLA 2011-01-20 04:30:32 EST
(In reply to comment #5)
> (In reply to comment #1)
> > JSR308 related work is tracked by bug# 287648 -- FYI, thanks.
> 
> That's not Java 7 yet.

Sure *now* we know ;-)
Comment 7 Werner Keil CLA 2011-01-20 04:56:32 EST
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #1)
> > > JSR308 related work is tracked by bug# 287648 -- FYI, thanks.
> > 
> > That's not Java 7 yet.
> 
> Sure *now* we know ;-)

Is there already a Java 8 bug similar to this?
Comment 8 Dani Megert CLA 2011-01-20 05:02:32 EST
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #1)
> > > > JSR308 related work is tracked by bug# 287648 -- FYI, thanks.
> > > 
> > > That's not Java 7 yet.
> > 
> > Sure *now* we know ;-)
> 
> Is there already a Java 8 bug similar to this?

No. This will be created once we do the 3.8 plan.
Comment 9 Dani Megert CLA 2011-03-31 03:42:18 EDT
Due to late availability of JSR-292 (Invoke Dynamic) and JSR-334 (Project Coin) and due to the official release date (July 28, 2011) of Java 7 being after 3.7 ships we had to defer the Java 7 support to 3.7.1. It has not yet been decided whether this will be available as part of the 3.7.1 downloads or as separate feature update.

The work for the Java 7 features is currently in progress in the 'BETA_JAVA7' branch and we will deliver separate updates for the stable builds in order to provide early access to the Java 7 features for interested parties.
Comment 10 Olivier Thomann CLA 2011-07-07 13:55:10 EDT
Srikanth, I would close it as fixed as all Java 7 features are now implemented in the Java 7 branch. All issues should be reported into specific bug reports.
Comment 11 Srikanth Sankaran CLA 2011-07-07 20:34:55 EDT
Implementation is complete and released into BETA_JAVA7 branch.
Comment 12 Raksha Vasisht CLA 2011-07-20 06:34:00 EDT
Verified as complete.
Comment 13 Jason Sachs CLA 2011-07-28 13:43:02 EDT
>The work for the Java 7 features is currently in progress in the 'BETA_JAVA7'
>branch and we will deliver separate updates for the stable builds in order to
>provide early access to the Java 7 features for interested parties.

what's the release plan for Java7 support? is it solely 3.7.1 for this fall, or will there be a stable release of the BETA_JAVA7 branch (perhaps in some kind of "release candidate") before then?
Comment 14 Olivier Thomann CLA 2011-07-28 13:51:38 EDT
The plan is to get all the Java 7 implementation done in the BETA_JAVA7 branch into the next 3.7.1 build (starting tomorrow as I am doing the merge right now).

So HEAD and R3_7_maintenance will contain the Java 7 implementation by default. So any build in either stream after today will contain the support.
Comment 15 Jason Sachs CLA 2011-08-09 09:43:50 EDT
(In reply to comment #14)
> The plan is to get all the Java 7 implementation done in the BETA_JAVA7 branch
> into the next 3.7.1 build (starting tomorrow as I am doing the merge right
> now).
> 
> So HEAD and R3_7_maintenance will contain the Java 7 implementation by default.
> So any build in either stream after today will contain the support.

Thank you. What about stable builds? Is the next 3.7.x stable build going to be the official 3.7.1 release for this fall, or will there be a stable build before then?
Comment 16 Dani Megert CLA 2011-08-09 09:46:12 EDT
> Thank you. What about stable builds? Is the next 3.7.x stable build going to be
> the official 3.7.1 release for this fall, or will there be a stable build
> before then?

Java 7 support is now in all builds. There is a 3.7.1 (aka M-) build every week. For details see http://www.eclipse.org/eclipse/development/plans/freeze_plan_3_7_1.php.
Comment 17 Jason Sachs CLA 2011-09-09 09:26:57 EDT
(In reply to comment #16)
> > Thank you. What about stable builds? Is the next 3.7.x stable build going to be
> > the official 3.7.1 release for this fall, or will there be a stable build
> > before then?
> 
> Java 7 support is now in all builds. There is a 3.7.1 (aka M-) build every
> week. For details see
> http://www.eclipse.org/eclipse/development/plans/freeze_plan_3_7_1.php.

So where is the latest 3.7.1 RC (2? 3?) build? I don't see it on http://download.eclipse.org/eclipse/downloads/eclipse3x.php
Comment 18 Olivier Thomann CLA 2011-09-09 09:34:56 EDT
(In reply to comment #17)
p://www.eclipse.org/eclipse/development/plans/freeze_plan_3_7_1.php.
> 
> So where is the latest 3.7.1 RC (2? 3?) build? I don't see it on
> http://download.eclipse.org/eclipse/downloads/eclipse3x.php
Choose any M-build. For example, M20110908-1333.
Comment 19 Jason Sachs CLA 2011-09-16 09:11:35 EDT
(In reply to comment #18)
> (In reply to comment #17)
> p://www.eclipse.org/eclipse/development/plans/freeze_plan_3_7_1.php.
> > 
> > So where is the latest 3.7.1 RC (2? 3?) build? I don't see it on
> > http://download.eclipse.org/eclipse/downloads/eclipse3x.php
> Choose any M-build. For example, M20110908-1333.

Why doesn't the downloads page have it listed as a stable build labeled 3.7.1 RC ___ ?
Comment 20 Markus Keller CLA 2011-09-16 11:05:00 EDT
> Why doesn't the downloads page have it listed as a stable build labeled 3.7.1
> RC ___ ?

We don't explicitly declare maintenance builds as stable builds. But every M-build that is not quickly followed by a rebuild is similarly stable as a stable build from the HEAD stream.

http://www.eclipse.org/eclipse/development/plans/freeze_plan_3_7_1.php says:
"The Indigo 3.7 SR1 release should be complete and available for download by the end of September 2011." At that time, the latest M-build will be promoted to a "Latest Release".
Comment 21 Jason Sachs CLA 2011-09-22 18:05:53 EDT
(In reply to comment #20)
> > Why doesn't the downloads page have it listed as a stable build labeled 3.7.1
> > RC ___ ?

well, it's a moot point now, since 3.7.1 is listed...

http://download.eclipse.org/eclipse/downloads/eclipse3x.php

but the link to 3.7.1 (http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/index.php) is broken. Can someone please fix?
Comment 22 Ayushman Jain CLA 2011-09-23 01:02:09 EDT
(In reply to comment #21)
> but the link to 3.7.1
> (http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/index.php)
> is broken. Can someone please fix?

Oops. Indeed it is. Thanks for pointing it out.
Comment 23 Dani Megert CLA 2011-09-23 01:51:09 EDT
(In reply to comment #22)
> (In reply to comment #21)
> > but the link to 3.7.1
> > (http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/index.php)
> > is broken. Can someone please fix?

See bug 358688.