Sample maven project containing a Java agent and examples of bytecode manipulation with ASM and Javassist
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
agent initial commit Jan 30, 2014
other initial commit Jan 30, 2014
LICENSE.txt Create LICENSE.txt Jan 30, 2014
README.md fix broken link to blog's article Jan 30, 2014
pom.xml initial commit Jan 30, 2014

README.md

Sample Java Agent and Bytecode manipulation

Sample maven project containing a Java agent and examples of bytecode manipulation with ASM and Javassist.

See article on my blog : http://tomsquest.com/blog/2014/01/intro-java-agent-and-bytecode-manipulation/

Build

$ # From the root dir
$ mvn package

Run

$ # From the root dir
$ java -javaagent:agent/target/agent-0.1-SNAPSHOT.jar -jar other/target/other-0.1-SNAPSHOT.jar