From e01da2eb912fdff4a91c6229179e56cef3561cb2 Mon Sep 17 00:00:00 2001 From: shade Date: Thu, 29 Nov 2012 17:03:52 +0000 Subject: [PATCH] 8004141: UnsafeStaticFieldAccessorImpl#base should be final Reviewed-by: chegar, alanb Contributed-by: peter.levart@gmail.com --- .../classes/sun/reflect/UnsafeStaticFieldAccessorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/classes/sun/reflect/UnsafeStaticFieldAccessorImpl.java b/src/share/classes/sun/reflect/UnsafeStaticFieldAccessorImpl.java index d3fce6237..68ef98fa3 100644 --- a/src/share/classes/sun/reflect/UnsafeStaticFieldAccessorImpl.java +++ b/src/share/classes/sun/reflect/UnsafeStaticFieldAccessorImpl.java @@ -43,7 +43,7 @@ abstract class UnsafeStaticFieldAccessorImpl extends UnsafeFieldAccessorImpl { new String[] { "base" }); } - protected Object base; // base + protected final Object base; // base UnsafeStaticFieldAccessorImpl(Field field) { super(field); -- GitLab