Commit ad99aa2f authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.3.x' into 2.4.x

Closes gh-26747
parents 1cda557d 0d904666
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -131,11 +131,7 @@ final class ModifiedClassPathClassLoader extends URLClassLoader { ...@@ -131,11 +131,7 @@ final class ModifiedClassPathClassLoader extends URLClassLoader {
} }
private static boolean isManifestOnlyJar(URL url) { private static boolean isManifestOnlyJar(URL url) {
return isSurefireBooterJar(url) || isShortenedIntelliJJar(url); return isShortenedIntelliJJar(url);
}
private static boolean isSurefireBooterJar(URL url) {
return url.getPath().contains("surefirebooter");
} }
private static boolean isShortenedIntelliJJar(URL url) { private static boolean isShortenedIntelliJJar(URL url) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment