Skip to content

Commit

Permalink
Extensibility of RewriteClassLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Dec 12, 2023
1 parent 19d4620 commit 0047896
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public class RewriteClassLoader extends URLClassLoader {
"org.openrewrite.gradle.GradleProjectParser",
"org.openrewrite.gradle.DefaultRewriteExtension",
"org.openrewrite.gradle.RewriteExtension",
"io.moderne.gradle.SerializingGradleProjectParser",
"io.moderne.gradle.ModerneExtension",
"org.slf4j",
"org.gradle",
"groovy",
Expand Down Expand Up @@ -70,7 +68,7 @@ protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundE
return foundClass;
}

boolean shouldBeParentLoaded(String name) {
protected boolean shouldBeParentLoaded(String name) {
for (String s : loadFromParent) {
if (name.startsWith(s)) {
return true;
Expand Down

0 comments on commit 0047896

Please sign in to comment.