Skip to content

Commit 3432044

Browse files
committed
Use deferred logging to report Class-Path manifest attribute problems
Closes gh-16883
1 parent 9f512ec commit 3432044

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -178,7 +178,7 @@ private static List<URL> getUrlsFromManifestClassPathAttribute(URL jarUrl,
178178
}
179179
}
180180
if (!nonExistentEntries.isEmpty()) {
181-
System.out.println("The Class-Path manifest attribute in " + jarFile.getName()
181+
logger.info("The Class-Path manifest attribute in " + jarFile.getName()
182182
+ " referenced one or more files that do not exist: "
183183
+ StringUtils.collectionToCommaDelimitedString(nonExistentEntries));
184184
}

0 commit comments

Comments
 (0)