Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Java 5 code in the LaunchStatusHandler.java (R1_0 branch)

Hi Gabriel,

In DLTK 1.0 the org.eclipse.dltk.core plugin requires java5, some of the other plugins probably kept 1.4 if there were no recent changes in them.
The inconsistencies your have met  were introduced when backporting bugfixes into 1.0 branch, and I've just fixed them by updating RequiredExecutionEnvironment to J2SE-1.5.

DLTK 2.0 at the moment depends on java5, but java5 is reaching it's EOL http://java.sun.com/javase/downloads/index_jdk5.jsp, so there are theoretical chances the requirement will be increased.

Thank you,
Alex

----- Original Message -----
From: "Gabriel Petrovay" <gabipetrovay@xxxxxxxxx>
To: "dltk-dev" <dltk-dev@xxxxxxxxxxx>
Sent: Thursday, October 22, 2009 8:14:44 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] Java 5 code in the LaunchStatusHandler.java (R1_0 branch)

Hi,

The all the plugins have associated to them J2SE-1.4. But the plugins have Java 5 code inside:

For example: \dltk\org.eclipse.dltk.debug.ui\src\org\eclipse\dltk\debug\ui\handlers\LaunchStatusHandler.java:37 :
...getClass().getSimpleName()...

getSimpleName() is only avaialble starting with Java 5.

In a pure Java 1.4 environment, this does not compile.

What is the desired compatibility for DLTK 1.0? What about 2.0?


Thanks!
Gabriel

--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com

_______________________________________________ dltk-dev mailing list dltk-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dltk-dev

Back to the top