Problem: JNI generated code has various errors
Problem: JNI generated code has various errors

Solution: fix them

Some of these don't have good fixes yet. It's unclear how to e.g.
pass buffers to/from the C code when the API does not specify where
to get the buffer size.

Work in progress; CZMQ/JNI does not build entirely yet.

paddor/zproject,paddor/zproject,eburkitt/zproject,keent/zproject,taotetek/zproject,keent/zproject,paddor/zproject,asokoloski/zproject,zeromq/zproject,twhittock/zproject,eburkitt/zproject,hintjens/zproject,taotetek/zproject,taotetek/zproject,asokoloski/zproject,twhittock/zproject,zeromq/zproject,hintjens/zproject,zeromq/zproject