title: How to verify Java Bytecode before injecting into the JVM?
body: <p>I'm trying to verify "on the fly" generated bytecode!</p>
  
  <p>I already had several attempts, one attempt was to compile my classes in runtime with the eclipse compiler another was to compile from memory as mentioned here:</p>
  
  <p><a href="http://www.java2s.com/Code/Java/JDK-6/CompilingfromMemory.htm" rel="nofollow">Compile From Memory</a></p>
  
  <p>First results looked okay but I'm still not a 100% sure if the verification process is truly valid according to the JAVA 6 guidelines and security measurements as well to normal OOP Models.</p>
  
  <p>Any better way on how to verify bytecode?</p>