Small fixes for Java F library #243

Merged
merged 3 commits into from Apr 24, 2012