Skip to content

Commit

Permalink
Use platformClassLoader as muzzle parent instead of bootstrap. (#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal authored Sep 9, 2020
1 parent 7080bdb commit c1556fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/groovy/MuzzlePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class MuzzlePlugin implements Plugin<Project> {
toolingProject.getLogger().info('--' + f)
urls.add(f.toURI().toURL())
}
def loader = new URLClassLoader(urls.toArray(new URL[0]), (ClassLoader) null)
def loader = new URLClassLoader(urls.toArray(new URL[0]), ClassLoader.platformClassLoader)
assert TOOLING_LOADER.compareAndSet(null, loader)
return TOOLING_LOADER.get()
} else {
Expand Down

0 comments on commit c1556fa

Please sign in to comment.