Commit 078e1f05 authored by Lubomir Bulej's avatar Lubomir Bulej

DiSL: Honor useDynamicBypass setting (before switching to agent-provided options completely).

parent 18c18d6b
......@@ -534,7 +534,7 @@ public class DiSL {
ClassNode instrCN = instrClass.getClassNode();
// if bypass is desired, merge original and instrumented method code
if(codeOptions.contains (CREATE_BYPASS)) {
if(useDynamicBypass || codeOptions.contains (CREATE_BYPASS)) {
ClassReader origCR = new ClassReader(originalCode);
ClassNode origCN = new ClassNode();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment