Override jre_lib classes
Posted
by Filip
on Stack Overflow
See other posts from Stack Overflow
or by Filip
Published on 2010-06-02T13:06:21Z
Indexed on
2010/06/02
13:14 UTC
Read the original article
Hit count: 210
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.
© Stack Overflow or respective owner