RazeLighter777 / Adventure

Java RPG engine with plugins
GNU General Public License v3.0
0 stars 0 forks source link

Custom Classloader #11

Open RazeLighter777 opened 5 years ago

RazeLighter777 commented 5 years ago

Good thing I caught this quickly, plugins should provide some sort of interface to a custom class loader which does something like this here: https://stackoverflow.com/questions/35013780/deserialize-dynamically-loaded-class-java

RazeLighter777 commented 5 years ago

Actually, we also need an objectinputstream withthe resolveClass method here: https://stackoverflow.com/questions/45181765/objectinputstream-override-resolveclass

RazeLighter777 commented 5 years ago

Done, but untested. Still have to figure out a way to write a unit test for this crap, and am going to put this on hold until I can build a working plugin.