Changeset 17664 in josm
- Timestamp:
- 2021-03-25T14:28:33+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginClassLoader.java
r14234 r17664 66 66 } 67 67 } catch (ClassNotFoundException e) { 68 // do nothing 69 Logging.trace("Plugin class not found in {0}: {1}", dep, e.getMessage()); 68 Logging.trace("Plugin class not found in dep {0}: {1}", dep, e.getMessage()); 70 69 Logging.trace(e); 71 70 } 72 71 } 73 result = super.loadClass(name, resolve); 72 try { 73 // Will delegate to parent.loadClass(name, resolve) if needed 74 result = super.loadClass(name, resolve); 75 } catch (ClassNotFoundException e) { 76 Logging.trace("Plugin class not found in super {0}: {1}", this, e.getMessage()); 77 Logging.trace(e); 78 } 79 } 80 // IcedTea-Web JNLPClassLoader overrides loadClass(String) but not loadClass(String, boolean) 81 if (result == null && getParent() != null) { 82 try { 83 result = getParent().loadClass(name); 84 } catch (ClassNotFoundException e) { 85 Logging.trace("Plugin class not found in parent {0}: {1}", getParent(), e.getMessage()); 86 Logging.trace(e); 87 } 74 88 } 75 89 if (result != null) {
Note:
See TracChangeset
for help on using the changeset viewer.