Fix 80 warnings and 1 segfault in shlr/java