This repository has been archived by the owner on Jun 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
[limitations] J2S limitations
qi.zhang edited this page Dec 23, 2013
·
1 revision
This page tries to summarize what we see as J2S limitations for MayLoon, and the solutions/workarounds available.
- Dependency handling for derived classes
Workaroud: Use reflection to find the derived class.
Reference: git commit 989e3934f11bd8062b1945282b60584a90bdb0c1 - "Using java reflection to fix the former bug"
- No String.length()
Workaround: Replace the parameter String to StringBuilder or StringBuffer works. CharSequence is an interface that has Length() method, and String is an implementation of CharSequence.
- Support for jave enum
Workaroud: Replace the enum with a class.
Reference: git commit aad5d452a809eef225729c1b64fb36ba4facc143
- Existing method is complained as undefined because of incorrect override signature