inNativeImage
This commit is contained in:
@@ -527,7 +527,7 @@ public abstract class Sncp {
|
|||||||
}
|
}
|
||||||
newDynName += "_" + (normal ? name : hash(name));
|
newDynName += "_" + (normal ? name : hash(name));
|
||||||
}
|
}
|
||||||
// if (Utility.inNativeImage() || methodBoost == null) { // 加强动态时不能重复加载
|
if (Utility.inNativeImage() || methodBoost == null) { // || methodBoost == null 加强动态时不能重复加载
|
||||||
try {
|
try {
|
||||||
final String newDynClass = newDynName.replace('/', '.');
|
final String newDynClass = newDynName.replace('/', '.');
|
||||||
return (Class<T>) classLoader.findClass(newDynClass);
|
return (Class<T>) classLoader.findClass(newDynClass);
|
||||||
@@ -536,7 +536,7 @@ public abstract class Sncp {
|
|||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
t.printStackTrace();
|
t.printStackTrace();
|
||||||
}
|
}
|
||||||
// }
|
}
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
ClassWriter cw = new ClassWriter(COMPUTE_FRAMES);
|
ClassWriter cw = new ClassWriter(COMPUTE_FRAMES);
|
||||||
FieldVisitor fv;
|
FieldVisitor fv;
|
||||||
|
|||||||
Reference in New Issue
Block a user