fix(Gadgets.java): _name Repair

This commit is contained in:
qi4L
2024-09-15 13:42:27 +08:00
parent 015ff5f2ae
commit 95adfbb45c
@@ -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;
} }