Open RazeLighter777 opened 5 years ago
Actually, we also need an objectinputstream withthe resolveClass method here: https://stackoverflow.com/questions/45181765/objectinputstream-override-resolveclass
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.
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