Fixed compiler for Java code generation (not heavily tested yet, but fixes include...