diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-08-22 23:24:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-22 23:24:42 +0200 |
commit | ba8fd3782819682b3f4081cb410b6d43055989b9 (patch) | |
tree | 8c40bd9b7993723a7f51d93fd234e20f769b8d6f /src | |
parent | 453c4117a6aef8e9c5c7036782eea5dfe8b4cfe7 (diff) | |
parent | 9773530fa9d17260c9c5ed7da256110cb84eb3ee (diff) | |
download | lombok-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.java | 4 |
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); } } |