enable more warnings for java compiler