Login  Register

Re: Java 7

Posted by samhamilton on Oct 06, 2011; 3:10am
URL: http://ofbiz.116.s1.nabble.com/Java-7-tp3867104p3876931.html

Not sure if everyone saw this but this page has a nice graphic showing the JDK roadmap
http://blogs.oracle.com/java/entry/moving_java_forward_java_strategy


On 5 Oct 2011, at 23:20, Sam Hamilton wrote:

+1 on making sure that OFBiz runs without problems on Java 7 before trying to add any new features that means it only runs on Java 7.

Is it worth asking infra to setup buildbot, demo system etc up for testing against both 6 & 7?

Also wondering if there is any rule of thumb about when the new Java release become stable enough for production, like Tomcat is +6 months?


Sam

On 5 Oct 2011, at 20:34, David Goodenough wrote:

OpenJDK IS the official JDK this time around.  So while a particular
platform may not be built/completed yet, its open source so anyone
can contribute.

On the timing, I would suggest that making sure that ofbiz is
Java 7 tolerant is the first priority, then when you want new
features think about whether you can justify locking users of the
old Java 6 out of ofbiz.  Unfortunately some enterprises are very
slow to move - and forcing people to move is what MS are always
accused of.

David

On Wednesday 05 Oct 2011, Scott Gray wrote:
You can't even get Java 7 for OSX currently (and no I'm not talking
OpenJDK), as far as I can tell it's not expected until sometime in 2012.

Regards
Scott

On 6/10/2011, at 12:47 AM, Jacques Le Roux wrote:
It seems to me that standard support (not payable) for Java 6 bug fixes
is ending in July 2012, a bit more than 8 months...

Jacques

From: "Ashish Vijaywargiya" <[hidden email]>

When is the EOL for java 6?

http://www.oracle.com/technetwork/java/eol-135779.html
<http://www.oracle.com/technetwork/java/eol-135779.html>-- One table
inside "Java SE Support Roadmap" is saying "Jul 2012" as EOL for Java
6. -- Another table inside "Java for Business Support Roadmap" is
saying "Dec 2016" as EOL for Java 6.
I think for now and more then one year we can keep continuing to support
Java 6 for all development and production deployments purpose.
Thanks!
--
Ashish

On Wed, Oct 5, 2011 at 3:51 PM, Scott Gray
<[hidden email]>wrote:
-1

When is the EOL for java 6?  What is the rush? By switching to Java 7
you are telling everyone who wants to use the latest OFBiz that they
MUST use Java 7, there needs to be a good reason for that.

Regards
Scott

On 5/10/2011, at 9:26 PM, Jacques Le Roux wrote:
Since, with java.nio.file, most important changes introduced by Java
7

are syntactic sugar (Coin project), I was more thinking about

a continued effort, not limited in time, hence no need for a branch.
It would just require a decision and to turn OFBiz development to
Java 7.

But of course this is a community choice and we need neeed more people
interested before taking any decision...


http://en.wikipedia.org/wiki/Java_version_history#Java_SE_7_.28July_28.
2C_2011.29

Jacques

From: "Sascha Rodekamp" <[hidden email]>

Hi,

+1 for java 7
But i think when updating the java version there are some parts of
the

code

we can improve with the new java features. I.e the try catch with

resources

or the new diamond operator for generics ...

So why not creating a jira ticket and a separate branch, do some
changes testing everything properly and merge back.

Have a good day
Sascha



2011/10/4 Jacques Le Roux <[hidden email]>

As soon as we change things maybe. Not even sure it's really
needed, at least last updated were done in trunk. Java 7 does not
introduce much changes anyway...

Jacques

From: "BJ Freeman" <[hidden email]>

I think a branch would be appropriate

Jacques Le Roux sent the following on 10/3/2011 3:50 AM:
Hi,

One day or another we will have to move to Java 7, I believe.

http://www.eclipse.org/jdt/ui/**r3_8/Java7news/whats-new-java-**7.html<
http://www.eclipse.org/jdt/ui/r3_8/Java7news/whats-new-java-7.html>

Opinions?

Jacques

--

Sascha Rodekamp

Visit the new german OFBiz Blog: http://www.ofbiz.biz
Lynx-Consulting GmbH
Johanniskirchplatz 6
D-33615 Bielefeld
http://www.lynx.de




smime.p7s (6K) Download Attachment