We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 040424c commit fe94428Copy full SHA for fe94428
1 file changed
src/share/classes/com/sun/btrace/agent/Main.java
@@ -534,7 +534,8 @@ private static void addPreconfLibs(String libs) {
534
if (Files.exists(libFolder)) {
535
appendToBootClassPath(libFolder);
536
appendToSysClassPath(libFolder);
537
- } else {
+ } else if (libs != null) {
538
+ // for user provided libs config report error if the location does not exist
539
DebugSupport.warning("Invalid 'libs' configuration [" + libs + "]. " +
540
"Path '" + libFolder.toAbsolutePath().toString() + "' does not exist.");
541
}
0 commit comments