Skip to content

Commit

Permalink
Update ClassLoader resources
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed Jan 13, 2025
1 parent 5e26897 commit 9909097
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ private class AvroCompilerPluginClassLoader(urls: Array[URL], parent: ClassLoade
super.findClass(name)
}
}

override def getResource(name: String): URL =
Option(super.findResource(name))
.getOrElse(parent.getResource(name))
}

0 comments on commit 9909097

Please sign in to comment.