multi-context javaconfig tweaks