mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-22 06:50:42 +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
|
||||
Reflections.setFieldValue(templates, "_name", "a");
|
||||
Reflections.setFieldValue(templates, "_name", "anyStr");
|
||||
Reflections.setFieldValue(templates, "_tfactory", TRANS_FACTORY.newInstance());
|
||||
return templates;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user