diff --git a/src/wyjc/io/ClassFileBuilder.java b/src/wyjc/io/ClassFileBuilder.java
index <HASH>..<HASH> 100755
--- a/src/wyjc/io/ClassFileBuilder.java
+++ b/src/wyjc/io/ClassFileBuilder.java
@@ -554,6 +554,7 @@ public class ClassFileBuilder {
 			String name = "constant$" + id;

 			JvmType type = convertType(constant.type());

 			bytecodes.add(new Bytecode.GetField(owner, name, type, Bytecode.STATIC));

+			addIncRefs(constant.type(),bytecodes);

 		}		

 	}
Bug fix for constants and reference counting.