This was a talk given by Julien Ponge and Frédéric Le Mouel, teachers at INSA Lyon, the engineering school that rejected my application a couple of decades ago. So they started with a bad a priori, but I forgive them because the talk was good. They started with some common stuff about bytecode in Java, bytecode generation with ASM, and bytecode weaving using Aspectj. Then they introduced JBoss ByteMan, which I did not know about. It allows you to connect an agent to a running JVM and to inject bytecode into any class using a rule file. I hope Security Managers can prevent this, because you can modify the behavior of any running code...They ended with a framework that is still in research stage, called Jooflux. This name is a pun in french, it means big cheeks. What it does is similar to Byteman, except that instead of modifying the bytecode and reloading the whole class, loosing all optimization information, it changes all InvokeXXX bytecodes into the new Invokedynamic. As I said, it is still beta, and they were using the Jconsole for interfacing with the running JVM but it looks promising.
↧