since all our native references and pointers wouldn't be valid anymore.
Yea I guess that would cause an 'slight' problem!
In most cases there is almost never a situation you actually have to recreate a VM after destroying it
I guess that explains why a 20 yo 'bug' has never been fixed!
This would add a massive degree of complexity The API already got a lot complexer in the new version due to the communication between Java and the native side (via JNI). Right now the native part alone is more than 10k lines of code
Without any ale in my system, thinking more clearly about it, yes that would mean writing code - for - every - single - getter - setter - constructor- and his aunt. And then every time one was added or changed. I do like creating work but this now sounds ridiculous!
Best stick to Plan A!
Have a Happy Easter red51