// BACKWARDS COMPATIBILITY: many linkers currently fail in dev mode.
try {
Linker l = module.getActivePrimaryLinker().newInstance();
StandardLinkerContext context = new StandardLinkerContext(
getTopLogger(), module, compilerContext.getPublicResourceOracle(), null);
if (!l.supportsDevModeInJunit(context)) {
if (module.getLinker("std") != null) {
// TODO: unfortunately, this could be race condition between dev/prod
module.addLinker("std");
}
}