Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-vision] Minimum Java version for Mars+1?

On 3 Feb 2015, at 12:20, Lars Vogel wrote:

I understand it would be great to use Java 8 features, but if that
requirement means JDT can no
longer support running Java 6 and Java 7 annotation processors then I
would consider it very problematic.

I assume that is a different problem. JDT supports multiple Java versions, e.g., you can start Eclipse with Java 8 and still develop for a Java 1.4
version.

Not for annotation processing AFAIK.

At least I had issues with it since the APT tooling had some different APIs for
their two bundles - one is loaded when non-Java8 the other for Java8 and
there was problems depending on what jvm I was running eclipse with.

This might have been fixed - but afaik APT handling *is* different from JDT itself since it actually must load users classses and they would be dependent on the JVM
eclipse run with provided libraries.

/max



On Tue, Feb 3, 2015 at 12:13 PM, Max Rydahl Andersen <manderse@xxxxxxxxxx>
wrote:

On 2 Feb 2015, at 14:43, Lars Vogel wrote:

I would love to be able to use Java 8 in platform.ui as this would allow
to
simplify out code, enhance our API and the like.

But I wanted to hear the opinion of this group, as this would have an impact on the consumption of the Eclipse SDK, if platform.ui requires Java
8 the Eclipse SDK requires also Java 8.


I understand it would be great to use Java 8 features, but if that
requirement means JDT can no
longer support running Java 6 and Java 7 annotation processors then I
would consider it very problematic.

/max


Best regards, Lars

On Mon, Feb 2, 2015 at 2:34 PM, Max Rydahl Andersen <manderse@xxxxxxxxxx>
wrote:

On 2 Feb 2015, at 10:20, Lars Vogel wrote:

At platform we have a mixture of 1.4 - 1.6 for stuff which goes into the

SDK. Whenever it makes sense we would upgrade them but so far I avoid requiring Java 8 as this would bump up the requirement for the whole
SDK.


Okey, but I thought that was your suggestion here ? To say the minimum is
Java 8 for Mars+1 ?

or did I misunderstand something here ?

/max


Am 02.02.2015 08:56 schrieb "Max Rydahl Andersen" <manderse@xxxxxxxxxx>:



I'm always torn about the minimal support - what is the minimum java
version right now ?

I know EPP require Java 7. But is all of platform at that level ?

One gotcha I can think of is that if you require Java 8 in eclipse then
you loose
support for running Java 7 annotation processors within JDT since Java
8
changed that API.

That would be quite a big loss of functionality.

/max

This should be left to the projects, which can raise the BREE when
needed,

and the EPP providers who best know whether their package really needs
Java 8. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=423734 for
lots
of pros and cons of using the latest JRE version.



There are other JREs around, not just Oracle. Also, those who move to

Java
8 drop support Solaris 32-bit.

Dani



From:   Lars Vogel <lars.vogel@xxxxxxxxxxx>
To:     For discussion regarding the future of the platform
<platform-vision@xxxxxxxxxxx>
Date:   29.01.2015 14:00
Subject: [platform-vision] Minimum Java version for Mars+1?
Sent by:        platform-vision-bounces@xxxxxxxxxxx



Hi,

The Oracle support for Java 7 ends in a few months.

To modernize the Eclipse source basic (which I think would make
Eclipse
more attract new contributors) I would like to see Java 8 as minimum
requirement for Eclipse Mars+1.

What do people think about this?

Best regards, Lars

-
Geschäftsführer

vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (032) 221739404, Email: lars.vogel@xxxxxxxxxxx, Web:
http://www.vogella.com_______________________________________________
platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision

_______________________________________________
platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision



/max
http://about.me/maxandersen
_______________________________________________
platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision

_______________________________________________

platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision



/max
http://about.me/maxandersen
_______________________________________________
platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision




--
Geschäftsführer

vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (032) 221739404, Email: lars.vogel@xxxxxxxxxxx, Web:
http://www.vogella.com
_______________________________________________
platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision



/max
http://about.me/maxandersen
_______________________________________________
platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision




--
Geschäftsführer

vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (032) 221739404, Email: lars.vogel@xxxxxxxxxxx, Web:
http://www.vogella.com
_______________________________________________
platform-vision mailing list
platform-vision@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-vision


/max
http://about.me/maxandersen


Back to the top