Permalink
Browse files

corrected error in passing scripts to transformer -- fixes re-opened …

…BYTEMAN-245
  • Loading branch information...
adinn committed Dec 13, 2013
1 parent 9f4266c commit 35fe1144c9d027fe52fd2aaf237fcbb574b0f6f3
Showing with 2 additions and 0 deletions.
  1. +2 −0 agent/src/main/java/org/jboss/byteman/agent/Main.java
@@ -193,6 +193,8 @@ public static void premain(String args, Instrumentation inst)
is.read(bytes);
String ruleScript = new String(bytes);
scripts.add(ruleScript);
+ // merge the resource and file script paths into one list
+ scriptPaths.add(scriptPath);
} catch (IOException ioe) {
System.err.println("org.jboss.byteman.agent.Main: error reading rule script resource file : " + scriptPath);
throw ioe;

0 comments on commit 35fe114

Please sign in to comment.