Jack Klebanoff
Index: java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
===================================================================
--- java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
(revision 55637)
+++ java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
(working copy)
@@ -1247,9 +1247,10 @@
Properties moduleList = new Properties();
boolean firstList = true;
+ ClassLoader cl = getClass().getClassLoader();
try {
- for( Enumeration e = ClassLoader.getSystemResources(
"org/apache/derby/modules.properties");
+ for( Enumeration e = cl.getResources(
"org/apache/derby/modules.properties");
e.hasMoreElements() ;) {
URL modulesPropertiesURL = (URL) e.nextElement();
InputStream is = null;
