[MODULES-181] [MODULES-182] Use/require correct parallel-capable mode on JDK 7+ and use safe JDK mode as well