Skip to content

Commit ad99aa2

Browse files
committed
Merge branch '2.3.x' into 2.4.x
Closes gh-26747
2 parents 1cda557 + 0d90466 commit ad99aa2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/classpath/ModifiedClassPathClassLoader.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 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.
@@ -131,11 +131,7 @@ private static URL toURL(String entry) {
131131
}
132132

133133
private static boolean isManifestOnlyJar(URL url) {
134-
return isSurefireBooterJar(url) || isShortenedIntelliJJar(url);
135-
}
136-
137-
private static boolean isSurefireBooterJar(URL url) {
138-
return url.getPath().contains("surefirebooter");
134+
return isShortenedIntelliJJar(url);
139135
}
140136

141137
private static boolean isShortenedIntelliJJar(URL url) {

0 commit comments

Comments
 (0)