Treat javac warnings as errors.
Fix javac warnings.
Fix javac warnings.
Configure javac and scalac to emit useful warnings and set feature flags.