java - Use AOP to mock System.currentTimeMillis() -


i need replace system.currenttimemillis() own realization within third-party jars in application. can use load-time weaving or other way it?

note: can't replace system.currenttimemillis() own interface , use di achieve it. need replace such calls in jars(e.g.: spring ones): system.currenttimemillis(), new date, new datetime()


Comments

Popular posts from this blog

java - JavaScript + Thymeleaf - select onchange -

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -