Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
fb79684d
Commit
fb79684d
authored
Sep 07, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x'
parents
cda82049
8761ef54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
ChangeableUrls.java
...springframework/boot/devtools/restart/ChangeableUrls.java
+7
-3
No files found.
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java
View file @
fb79684d
...
...
@@ -140,6 +140,7 @@ final class ChangeableUrls implements Iterable<URL> {
String
[]
entries
=
StringUtils
.
delimitedListToStringArray
(
classPath
,
" "
);
List
<
URL
>
urls
=
new
ArrayList
<>(
entries
.
length
);
File
parent
=
new
File
(
jarFile
.
getName
()).
getParentFile
();
List
<
File
>
nonExistentEntries
=
new
ArrayList
<>();
for
(
String
entry
:
entries
)
{
try
{
File
referenced
=
new
File
(
parent
,
entry
);
...
...
@@ -147,9 +148,7 @@ final class ChangeableUrls implements Iterable<URL> {
urls
.
add
(
referenced
.
toURI
().
toURL
());
}
else
{
System
.
out
.
println
(
"Ignoring Class-Path entry "
+
entry
+
" found in "
+
jarFile
.
getName
()
+
" as "
+
referenced
+
" does not exist"
);
nonExistentEntries
.
add
(
referenced
);
}
}
catch
(
MalformedURLException
ex
)
{
...
...
@@ -157,6 +156,11 @@ final class ChangeableUrls implements Iterable<URL> {
"Class-Path attribute contains malformed URL"
,
ex
);
}
}
if
(!
nonExistentEntries
.
isEmpty
())
{
System
.
out
.
println
(
"The Class-Path manifest attribute in "
+
jarFile
.
getName
()
+
" referenced one or more files that do not exist: "
+
StringUtils
.
collectionToCommaDelimitedString
(
nonExistentEntries
));
}
return
urls
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment