//If we are Java 1.6 + compiled then we need to compute stack frames, otherwise
//maxs are fine (and faster)
int computeVal = AbstractWovenProxyAdapter.IS_AT_LEAST_JAVA_6 ?
ClassWriter.COMPUTE_FRAMES : ClassWriter.COMPUTE_MAXS;
ClassWriter cWriter = new OSGiFriendlyClassWriter(cReader, computeVal, loader);
ClassVisitor cv = new OSGiFriendlyClassVisitor(cWriter, computeVal );
//Wrap our outer layer to add the original SerialVersionUID if it was previously being defaulted
ClassVisitor weavingAdapter = new SyntheticSerialVerUIDAdder(
new WovenProxyAdapter(cv, cReader.getClassName(), loader));
// If we are Java 1.6 + then we need to skip frames as they will be recomputed