Changeset 7227
- Timestamp:
- Nov 15, 2016, 2:47:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/util/extensions/manager/ExtensionsFile.java
r7226 r7227 426 426 hasError = false; 427 427 validationError = null; 428 jarLoader = null;429 428 430 429 InputStream in = null; … … 575 574 /** 576 575 Get the class loader used to load classes for the extension. Only JAR 577 files have class loaders so this method may return null. 576 files have class loaders so this method may return null. Once a class 577 loader has been created it remains the same until a change has been detected 578 with {@link #checkModified()} which forces the creation of a new class loader 579 when this method is called. 578 580 */ 579 581 public ClassLoader getClassLoader() 580 582 throws IOException 581 583 { 582 if ( jarLoader == null&& isJar())584 if ((jarLoader == null || wasModified) && isJar()) 583 585 { 584 586 jarLoader = (JarClassLoader)JarClassLoader.getInstance(getFile().getAbsolutePath(), true);
Note: See TracChangeset
for help on using the changeset viewer.