Permalink
Browse files

Use new ClassWeaver.reset() to make sure all kilim State classes are …

…generated into each module's jar file.
  • Loading branch information...
krestenkrab committed May 6, 2010
1 parent 7fc754b commit 5b9c5ebf98876c997ff15e650bc9d8aeeaedbb8e
Showing with 4 additions and 0 deletions.
  1. BIN lib/kilim-0.6-krab.jar
  2. +4 −0 src/main/java/erjang/beam/Compiler.java
View
Binary file not shown.
@@ -65,6 +65,10 @@ public Compiler(ClassRepo repo) throws OtpAuthException, IOException {
}
public static void compile(BeamFileData data, ClassRepo repo) throws IOException {
+
+ // reset thread-local data
+ ClassWeaver.reset();
+
// class writer, phase 4
ClassWriter cw = new ClassWriter(true);

0 comments on commit 5b9c5eb

Please sign in to comment.