Java 1.5 Backport code to Cinterion JavaME 1.4 | Telit Cinterion IoT Developer Community
July 7, 2016 - 5:33pm, 1919 views
Hello all,
I have some code in Java 1.5 and I would like to do a backport for using this code in EHS6. I have read about retrotranslator that does this job for usual JVM but I am not sure if it would work using Cinterion JVM. Retrotranslator makes JVM 1.5 compiled class compatible to JVM 1.5. If Cinterion JVM generates the same bytecode than a normal JVM, I guess it would work fine. Does someone have this information to share with us?
Thank you
Hello,
I've never tried this. I think that it might work for some classes but there are also some differences between ME and SE API's like in networking for example. Additionally IMP-NG CLDC 1.1 on the module does not have some API's available for SE and even ME edition.
Regards,
Bartłomiej
Hello,
I am interested in having Generics, Enums and varargs. I will give it a try and let you know.
Thanks
That would be great.