[Isolate-interest] deafening silence about refactored APIs

Curt Cox ccox@tripos.com
Wed, 26 May 2004 12:07:02 -0500


> There are no enums in CDC or CLDC, only latest J2SE.
Yes and no.  There may not be language support for enums in
CDC or CLDC, but there are plenty of ways of rolling your own.

Chapter 5, Substitutes for C Constructs
http://java.sun.com/developer/Books/effectivejava/Chapter5.pdf

Writing enums before Tiger
http://weblogs.java.net/pub/wlg/643

Are you saying that CDC or CLDC are so constrained that adding
an extra class for type-safety would cost too much in terms
of resources?  As primarily a J2SE developer, I hope not.

> Yes. A custom launcher is required and hooks have to be put into a few of
> the core library implementations and trickery with paths and the like
force
> this resulting "isolate launcher" to become "not Java."

Perhaps.  When there are tests that nobody can get a pure-Java
implementation to pass, then that will be more of a fact.