aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-22 23:24:42 +0200
committerGitHub <noreply@github.com>2019-08-22 23:24:42 +0200
commitba8fd3782819682b3f4081cb410b6d43055989b9 (patch)
tree8c40bd9b7993723a7f51d93fd234e20f769b8d6f /src
parent453c4117a6aef8e9c5c7036782eea5dfe8b4cfe7 (diff)
parent9773530fa9d17260c9c5ed7da256110cb84eb3ee (diff)
downloadlombok-ba8fd3782819682b3f4081cb410b6d43055989b9.tar.gz
lombok-ba8fd3782819682b3f4081cb410b6d43055989b9.tar.bz2
lombok-ba8fd3782819682b3f4081cb410b6d43055989b9.zip
Merge pull request #2204 from d4rksh4de/fix-loading-extensions
Fix loading extensions
Diffstat (limited to 'src')
-rw-r--r--src/launch/lombok/launch/ShadowClassLoader.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/launch/lombok/launch/ShadowClassLoader.java b/src/launch/lombok/launch/ShadowClassLoader.java
index 5489f3ea..f2a21a4e 100644
--- a/src/launch/lombok/launch/ShadowClassLoader.java
+++ b/src/launch/lombok/launch/ShadowClassLoader.java
@@ -436,14 +436,14 @@ class ShadowClassLoader extends ClassLoader {
Enumeration<URL> sec = super.getResources(name);
while (sec.hasMoreElements()) {
URL item = sec.nextElement();
- if (!partOfShadow(item.toString(), name)) vector.add(item);
+ if (isPartOfShadowSuffix(item.toString(), name, sclSuffix)) vector.add(item);
}
if (altName != null) {
Enumeration<URL> tern = super.getResources(altName);
while (tern.hasMoreElements()) {
URL item = tern.nextElement();
- if (!partOfShadow(item.toString(), altName)) vector.add(item);
+ if (isPartOfShadowSuffix(item.toString(), altName, sclSuffix)) vector.add(item);
}
}