Overriding single classes from rt.jar

前端 未结 4 1464
无人共我
无人共我 2021-01-03 06:55

I\'m looking for a neat way to override a class from the bootstrap class path, rt.jar. The reason is OpenJDK7 bug http://bugs.sun.com/bugdatabase/view_bug.do?bu

4条回答
  •  难免孤独
    2021-01-03 07:08

    I think you can try to use javaagent You must intercept event, when JVM loads system class and swap it to yours

提交回复
热议问题