Mediator () { if (!Boolean.getBoolean(FORCE_USE_NIO2_KEY)) { try { if ((SystemInfo.isLinux || SystemInfo.isMac) && CpuArch.isIntel64() && JnaLoader.isLoaded()) { return ensureSane(new JnaUnixMediatorImpl()); } } catch (Throwable t) { LOG.warn("Failed to load filesystem access layer: " + SystemInfo.OS_NAME + ", " + SystemInfo.JAVA_VERSION, t); } } return new Nio2MediatorImpl(); }