Browse Source

CORE-135 插件禁用再启用后Jackson实例化的java对象仍然用的插件卸载前的classLoader

research/11.0
ju 6 years ago
parent
commit
e8a128b498
  1. 4
      fine-jackson/src/com/fr/third/fasterxml/jackson/databind/type/ClassFactory.java

4
fine-jackson/src/com/fr/third/fasterxml/jackson/databind/type/ClassFactory.java

@ -5,7 +5,7 @@ package com.fr.third.fasterxml.jackson.databind.type;
*/ */
public interface ClassFactory { public interface ClassFactory {
Class<?> classForName(String className); Class<?> classForName(String className) throws ClassNotFoundException;
Class<?> classForName(String className, ClassLoader classLoader); Class<?> classForName(String className, ClassLoader classLoader) throws ClassNotFoundException;
} }

Loading…
Cancel
Save