CDK's org.openscience.cdk.inchi.InChIGenerator does not encapsulate net.sf.jniinchi properly, for example the getReturnStatus method returns a net.sf.jniinchi.INCHI_RET which is not a CDK class.