Add STAT_ constants on JVM.
Stub in some missing ops.

Lots of LHF here to implement these.
Control exception constants.