Changeset 7225


Ignore:
Timestamp:
Nov 14, 2016, 2:42:17 PM (7 years ago)
Author:
Nicklas Nordborg
Message:

References #2041: Support for extension points within extensions

This seems to fix the ClassCastException when re-installing an updated extension/extension point in the same JAR file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/util/extensions/Registry.java

    r7224 r7225  
    711711
    712712    private final String id;
    713     private final Class<A> actionClass;
     713    private Class<A> actionClass;
    714714    private final Map<String, RegisteredExtension<A>> extensions;
    715715
     
    731731    {
    732732      this.id = ep.getId();
    733       this.actionClass = ep.getActionClass();
    734733      this.extensions = new HashMap<String, RegisteredExtension<A>>();
    735734      update(ep, classLoader);
     
    799798          "; old classloader="+this.classLoader + "; new classLoader="+classLoader);
    800799      }
     800      this.actionClass = ep.getActionClass();
    801801      this.classLoader = classLoader;
    802802      this.name = ep.getName();
Note: See TracChangeset for help on using the changeset viewer.