General CLDC Limitations

In order to make the Java feature set suitable for very limited devices such as cellular phones or PDAs, CLDC's developers had to limit the feature set in several ways. This section first describes the general language and virtual machine limitations and some consequences of the missing reflection capabilities. It then discusses the simplified security and highlights some general limitations resulting directly from the limited hardware capabilities of CLDC devices.

General Java Language Limitations

For CLDC, the Java language itself was simplified slightly. The following restrictions hold for the Java language in CLDC:

  • No floating-point support (CLDC 1.0 only)

  • No reflection

  • No thread groups and daemon threads

  • No weak references ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.