PropertyValue declares its cache fields as transient

Issue: SPR-12377
This commit is contained in:
Juergen Hoeller 2014-10-27 15:49:02 +01:00
parent ff8655846d
commit a13bb69cbe
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -58,10 +58,10 @@ public class PropertyValue extends BeanMetadataAttributeAccessor implements Seri
volatile Boolean conversionNecessary;
/** Package-visible field for caching the resolved property path tokens */
volatile Object resolvedTokens;
transient volatile Object resolvedTokens;
/** Package-visible field for caching the resolved PropertyDescriptor */
volatile PropertyDescriptor resolvedDescriptor;
transient volatile PropertyDescriptor resolvedDescriptor;
/**