What is the best way to override jre_lib classes?
Let's say I need to store all ArrayLists not in RAM but on disk or anywhere else. I wanna write my own ArrayList class to code this functionality and make sure that every instantiations of ArrayList use my class.
I thought about class loading mechanism to change order of classpath, but as I see java checks standard classes first.