You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This page is meant to detail blocking issues with Android. At the start of the project the main issue related to Android was its lack of support of Annotations. A suggested workaround for issues related to Annotations was to use retrotranslator. After succesfully translating the SCA modules and modified Android modules with retrotranslator the Annotation related errors ceased. These errors are mainly related to lack of RMI support. This will be the first blocking issue on the list. As issues are resolved they will be scratched off and any new issues that arise will be added.

Issues:

1. RMI support

Suggested workarounds:

  • Get rid of java.rmi.Remote replacing it with java.lang.Cloneable using the folowing Retrotranslator option:

-backport java.rmi.Remote:java.lang.Cloneable

But in case there is important code using the java.rmi package, an alternative is to take sources of java.rmi from Apache Harmony. Then move the sources into another package, for example mypack.java.rmi, which should be compiled and put into a JAR. After that use it with Retrotranslator:

-backport mypack -classpath mypack.jar

But this approach works only if the sources don't employ native code (smile)

  • No labels