What Java version are you supporting currently?

1,796 views
Skip to first unread message

Dimitar G

unread,
May 12, 2014, 2:31:53 PM5/12/14
to codenameone...@googlegroups.com
I remember it was JDK 1.5 but did you move to 1.6 or 1.7?

If not, any plans to skip above two versions and move to 1.8. There are so many goodies in 1.8 I am simply drooling and getting anxious cause cannot be used.

Since we rely on cloud compilation we cannot use sweet extensions like Retrolambda.

To shorten the questions:
- any plans for Java 1.8 transition?
- if not, is it possible to add Retrolambda on server compilation (https://github.com/orfjackal/retrolambda)?

Shai Almog

unread,
May 13, 2014, 1:21:29 AM5/13/14
to codenameone...@googlegroups.com
We are still at a subset of Java 5.
We are considering Java 8 and some of our effort related to the new iOS VM targets that specifically. Retrolambda is no good for us since we need a solid target we can require, so if we configure the IDE to use Java 8 and a user uses a Java 8/7 feature that isn't supported by retrolambda (like diamond operator, or string switches) then we will fail. This will be especially painful  since the IDE implicitly inserts code of that type in its code completion based on language level!

So the change would have to be far more extensive and we would have to do it across the board!
Having said that we are trying to talk to Oracle about becoming "proper" Java licensees, this is obviously a difficult task but I hope it will bare fruit. If it will happen we will probably support CLDC 8 level VM features which means pretty much all of the Java 8 language features including Lambdas and quite a few additional capabilities.

Dimitar G

unread,
May 13, 2014, 7:58:38 AM5/13/14
to codenameone...@googlegroups.com
Any timeframe for:
- getting licenses from Oracle
- converting server-side to be Java 1.8 compatible in case you get the licenses

Thomas Chatfield

unread,
May 13, 2014, 8:59:40 AM5/13/14
to codenameone...@googlegroups.com
Java 8 support in CN1 would be amazing. Hope you guys can pull it off.

Shai Almog

unread,
May 13, 2014, 12:10:45 PM5/13/14
to codenameone...@googlegroups.com
Sometime between 6 months and never.
Reply all
Reply to author
Forward
0 new messages