Skip to content

Commit

Permalink
容器classLoader发生变化时,保证能loadFilterConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Yako authored and Yako committed Jan 29, 2015
1 parent 879f779 commit 7da97fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/alibaba/druid/filter/FilterManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public static Properties loadFilterConfig() throws IOException {

loadFilterConfig(filterProperties, ClassLoader.getSystemClassLoader());
loadFilterConfig(filterProperties, Thread.currentThread().getContextClassLoader());
loadFilterConfig(filterProperties, FilterManager.class.getClassLoader());

return filterProperties;
}
Expand Down

0 comments on commit 7da97fc

Please sign in to comment.