diff --git a/java/src/main/java/ai/onnxruntime/OnnxRuntime.java b/java/src/main/java/ai/onnxruntime/OnnxRuntime.java index b28b1c6546..a6b7085e96 100644 --- a/java/src/main/java/ai/onnxruntime/OnnxRuntime.java +++ b/java/src/main/java/ai/onnxruntime/OnnxRuntime.java @@ -192,7 +192,7 @@ final class OnnxRuntime { if (is == null) { // 3a) Not found in resources, load from library path if (!systemLoad) { - return; // Failure is expected if we try to pull in optional components we don't need to load + return; // Failure is expected for optional components we don't need to load } logger.log( Level.FINE, "Attempting to load native library '" + library + "' from library path");