Java 8 JCL changes.

There's a threadStatus change I'll need to do now. Apparently OpenJDK 8
forces you to use a particular threadStatus convention, and doesn't let
you map your JVM's custom threadStatus values to Java-visible threadstatus
values. So much for portability!

I could either override the now non-native function, or simply have my own
internal map from our TS to their TS. The latter seems to be easy enough
to do.