@@ -330,11 +330,12 @@ private String getClassName(JarEntry jarEntry) {
330
330
File file = new File (pluginDirectory .getAbsolutePath (), filePath );
331
331
try {
332
332
if (!file .getCanonicalPath ().startsWith (pluginDirectory .getCanonicalPath () + File .separator )) {
333
- LOGGER .log (Level .WARNING , "canonical path for jar entry {0} leads outside the origin" , filePath );
333
+ LOGGER .log (Level .WARNING , "canonical path for jar entry ''{0}'' leads outside the origin" ,
334
+ filePath );
334
335
return null ;
335
336
}
336
337
} catch (IOException e ) {
337
- LOGGER .log (Level .WARNING , "failed to get canonical path for {0}" , file );
338
+ LOGGER .log (Level .WARNING , "failed to get canonical path for '' {0}'' " , file );
338
339
return null ;
339
340
}
340
341
@@ -372,12 +373,12 @@ private String getClassName(JarEntry jarEntry) {
372
373
*/
373
374
public final void reload () {
374
375
if (pluginDirectory == null || !pluginDirectory .isDirectory () || !pluginDirectory .canRead ()) {
375
- LOGGER .log (Level .WARNING , "Plugin directory not found or not readable: {0}. "
376
+ LOGGER .log (Level .WARNING , "Plugin directory ''{0}'' not found or not readable: "
376
377
+ "All requests allowed." , pluginDirectory );
377
378
return ;
378
379
}
379
380
380
- LOGGER .log (Level .INFO , "Plugins are being reloaded from {0}" , pluginDirectory .getAbsolutePath ());
381
+ LOGGER .log (Level .INFO , "Plugins are being reloaded from '' {0}'' " , pluginDirectory .getAbsolutePath ());
381
382
382
383
// trashing out the old instance of the loader enables us
383
384
// to reload the stack at runtime
0 commit comments