mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-26 08:41:53 +08:00
fix(Gadgets.java): _name Repair
This commit is contained in:
@@ -150,7 +150,7 @@ public class Gadgets extends ClassLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// required to make TemplatesImpl happy
|
// required to make TemplatesImpl happy
|
||||||
Reflections.setFieldValue(templates, "_name", "a");
|
Reflections.setFieldValue(templates, "_name", "anyStr");
|
||||||
Reflections.setFieldValue(templates, "_tfactory", TRANS_FACTORY.newInstance());
|
Reflections.setFieldValue(templates, "_tfactory", TRANS_FACTORY.newInstance());
|
||||||
return templates;
|
return templates;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user