diff options
author | Steve Mägi <steve@sympower.net> | 2019-08-14 15:42:48 +0300 |
---|---|---|
committer | Steve Mägi <steve@sympower.net> | 2019-08-14 15:42:48 +0300 |
commit | 9773530fa9d17260c9c5ed7da256110cb84eb3ee (patch) | |
tree | 427f34af987878181fc1652f675c15eda8b408fb /src | |
parent | ff1c01d9e9e66d898c30939b497490b04fe6163c (diff) | |
download | lombok-9773530fa9d17260c9c5ed7da256110cb84eb3ee.tar.gz lombok-9773530fa9d17260c9c5ed7da256110cb84eb3ee.tar.bz2 lombok-9773530fa9d17260c9c5ed7da256110cb84eb3ee.zip |
fix loading extensions: Lombok extensions in external jar files were not included by class loader
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); } } |