Symbian
Symbian OS Library

FAQ-1131 What is pre-verification?

[Index][spacer] [Previous] [Next]



 

Classification: Java Category: J2ME MIDP
Created: 09/08/2004 Modified: 09/10/2004
Number: FAQ-1131
Platform: Symbian OS v6.1, Symbian OS v7.0, Symbian OS v7.0s, Symbian OS v8.0

Question:
The MIDlet build cycle requires an additional pre-verification step. Why is this?

Answer:
A consequence of the tight memory footprint required by the J2ME CLDC specification is that a CLDC VM does not support a full J2SE class verifier.
Instead CLDC delegates part of the verification process to the build cycle. A CLDC VM requires all application classes to be "pre-verified" by the
developer, adding an additional step to the application build process(compile, pre-verify, jar). So to build a CLDC/MIDP application you need an
additional tool (the pre-verifier) supplied in Sun's J2ME Wireless Toolkit.