From 06581537f24fe31ee096960be496bc503059a95e Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 14 Feb 2012 16:39:48 +0100 Subject: More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled. TODO: Update -eclipse tests. --- test/transform/resource/after-ecj/GetterLazy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/transform/resource/after-ecj/GetterLazy.java') diff --git a/test/transform/resource/after-ecj/GetterLazy.java b/test/transform/resource/after-ecj/GetterLazy.java index 669a9a81..89aaa40f 100644 --- a/test/transform/resource/after-ecj/GetterLazy.java +++ b/test/transform/resource/after-ecj/GetterLazy.java @@ -14,7 +14,8 @@ class GetterLazy { value = this.fieldName.get(); if ((value == null)) { - value = new java.util.concurrent.atomic.AtomicReference(new ValueType()); + final ValueType actualValue = new ValueType(); + value = new java.util.concurrent.atomic.AtomicReference(actualValue); this.fieldName.set(value); } } -- cgit