Implementation of the remaining BasicTypes for new Java API
Fix dependencies for java test base