This content has been marked as final. Show 3 replies
fbarranquero wrote:There is no specific document available for that reason provided by standard entities.
Is this kind of documentation available?, Where could I find it?.
In the each framework, when you will download, you will find their corresponding documents which includes programming notes and technical details. You can read them and find what is the difference.
From my understanding, the API is backwards compatible in that if your code worked correctly on JC 2.1.2 it should work the same on a JC 2.2.2 platform. There are of course API's and methods added in the newer versions. I think this is why there is no real documentation on migrating from one version to the next (that I have noticed anyway). If there were any notes for each version it would be in the developer guide for that version. There could also be a note in the spec for a given version, but I have never looked.
Just compile against the new API and use the correct version of the cap file converter you should be able to see if any API's are different and break your code. I assume you have test cases you can run against a new platform?
Java Card Runtime Environment spec mandates only one version backward compatibility. While I agree that the API in JC 2.1 is a subset of JC 2.2, a recompilation is required otherwise the JC OS might reject the upload.