Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…BYTEMAN-245
  • Loading branch information...
commit 35fe1144c9d027fe52fd2aaf237fcbb574b0f6f3 1 parent 9f4266c
@adinn authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  agent/src/main/java/org/jboss/byteman/agent/Main.java
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.