Skip to content

Commit

Permalink
Do not validate libs location if not provided. Fixes btraceio#347
Browse files Browse the repository at this point in the history
  • Loading branch information
jbachorik committed Aug 26, 2018
1 parent 040424c commit fe94428
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/share/classes/com/sun/btrace/agent/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ private static void addPreconfLibs(String libs) {
if (Files.exists(libFolder)) {
appendToBootClassPath(libFolder);
appendToSysClassPath(libFolder);
} else {
} else if (libs != null) {
// for user provided libs config report error if the location does not exist
DebugSupport.warning("Invalid 'libs' configuration [" + libs + "]. " +
"Path '" + libFolder.toAbsolutePath().toString() + "' does not exist.");
}
Expand Down

0 comments on commit fe94428

Please sign in to comment.