Skip to content

Commit

Permalink
[trivial]
Browse files Browse the repository at this point in the history
  • Loading branch information
rzwitserloot committed Sep 14, 2023
1 parent 900ff57 commit 64927d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/launch/lombok/launch/ShadowClassLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ private boolean isPartOfShadowSuffix(String url, String name, String suffix) {

private URL getResource_(String name, boolean noSuper) {
String altName = null;
name = shader.reverseResourceName(name);
name = shader == null ? name : shader.reverseResourceName(name);
if (name.endsWith(".class")) altName = name.substring(0, name.length() - 6) + ".SCL." + sclSuffix;

for (File ce : override) {
Expand Down Expand Up @@ -594,7 +594,7 @@ private Class<?> urlToDefineClass(String name, URL res, boolean resolve) throws
throw new ClassNotFoundException("I/O exception reading class " + name, e);
}

shader.apply(b);
if (shader != null) shader.apply(b);

Class<?> c;
try {
Expand Down

0 comments on commit 64927d0

Please sign in to comment.