From 89f98da78d3ffd9e9f6f7151fcaf5e4329d2e8dd Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 14 Feb 2020 01:20:14 +0100 Subject: [fixes #678] `@Synchronize` an instance method on static variable no longer emits a warning. --- .../messages-ecj/SynchronizedNameStaticToInstanceRef.java.messages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/transform/resource/messages-ecj/SynchronizedNameStaticToInstanceRef.java.messages') diff --git a/test/transform/resource/messages-ecj/SynchronizedNameStaticToInstanceRef.java.messages b/test/transform/resource/messages-ecj/SynchronizedNameStaticToInstanceRef.java.messages index 98b9c948..68cb9d6c 100644 --- a/test/transform/resource/messages-ecj/SynchronizedNameStaticToInstanceRef.java.messages +++ b/test/transform/resource/messages-ecj/SynchronizedNameStaticToInstanceRef.java.messages @@ -1 +1 @@ -5 Cannot make a static reference to the non-static field SynchronizedNameStaticToInstanceRef.read +5 The field read is non-static and thus cannot be used on this static method -- cgit