Share

Java 2 CSharp Translator for Eclipse

Tracker: Feature Requests

5 Support for different versions of JDK - ID: 2892022
Last Update: Settings changed ( alexandrefau )

Each version of JDK brings new classes and new methods in existing class.
In order for J2CS to support those changes without duplicating mapping file
i suggest to add a parameter in the mapping for packages, classes, methods,
fields .. that indicates the version of the JDK the new element has been
introduced. The J2CS have then to compare this parameter with the version
of the JDK of the project (JavaCore.COMPILER_COMPLIANCE)

This allows to translate projects that do not compile with the last JDK and
the maintenance of the mapping files will be easier (than duplicating the
mapping files for each JDK).

For example the method "getCanonicalName" has been introduced in the JDK1.5
and it should be noted as this :

method getCanonicalName() { property_get = FullName; since_jdk=1.5}


Thomas Colin de Verdière ( tdeverdiere ) - 2009-11-04 16:26

5

Open

None

Alexandre FAU

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
assigned_to nobody 2009-11-25 10:47 alexandrefau