3 ms·
You can write a Java agent to overwrite the classfiles as they're loaded. At startup, you can use the `-javaagent:<path/to/jar>` option, and you can also bind
by half-kh-hacker 9y ago
You can write a Java agent to overwrite the classfiles as they're loaded.
At startup, you can use the `-javaagent:<path/to/jar>` option, and you can also bind an agent to other JVMs, programmatically, at runtime with a bit of hackery.