Skip to content

Commit

Permalink
Issue #41ConfigurableWroFilter cannot load extensions
Browse files Browse the repository at this point in the history
  - The filter was using reflection to call a method that has been renamed, and failing to load extension modules.
  • Loading branch information
Simon van der Sluis committed May 13, 2012
1 parent 1eba287 commit 60f1a16
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -116,7 +116,7 @@ protected ProcessorsFactory newProcessorsFactory() {
LOG.debug("trying to import processors from extensions module..."); LOG.debug("trying to import processors from extensions module...");
try { try {
final Class<?> clazz = Class.forName("ro.isdc.wro.extensions.manager.ExtensionsConfigurableWroManagerFactory"); final Class<?> clazz = Class.forName("ro.isdc.wro.extensions.manager.ExtensionsConfigurableWroManagerFactory");
final Method method = clazz.getMethod("pupulateMapWithExtensionsProcessors", Map.class); final Method method = clazz.getMethod("populateMapWithExtensionsProcessors", Map.class);
method.invoke(null, preProcessorsMap); method.invoke(null, preProcessorsMap);
method.invoke(null, postProcessorsMap); method.invoke(null, postProcessorsMap);
LOG.debug("[OK] Extensions processors imported successfully: {}", preProcessorsMap.keySet()); LOG.debug("[OK] Extensions processors imported successfully: {}", preProcessorsMap.keySet());
Expand Down

0 comments on commit 60f1a16

Please sign in to comment.