S
softwarepearls_com
I've got a java.lang.instrument-compliant agent which instruments
java.lang.String. As soon as the venerable String class is modified
this way, any agent logic which uses Strings is itself triggering
instrumented code. What I'd like to have is that all of the agent's
logic can stick to the original String class, and all other logic (ie
the app running with the agent installed) uses the instrumented String
class. My guts tell me this should be possible, but I'm not seeing the
light. Anyone any ideas on this?
java.lang.String. As soon as the venerable String class is modified
this way, any agent logic which uses Strings is itself triggering
instrumented code. What I'd like to have is that all of the agent's
logic can stick to the original String class, and all other logic (ie
the app running with the agent installed) uses the instrumented String
class. My guts tell me this should be possible, but I'm not seeing the
light. Anyone any ideas on this?