From a13bb69cbe36e41eaa31c346eed6b1db69200593 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 27 Oct 2014 15:49:02 +0100 Subject: [PATCH] PropertyValue declares its cache fields as transient Issue: SPR-12377 --- .../main/java/org/springframework/beans/PropertyValue.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/PropertyValue.java b/spring-beans/src/main/java/org/springframework/beans/PropertyValue.java index feecaf0e59..b2058a2ae1 100644 --- a/spring-beans/src/main/java/org/springframework/beans/PropertyValue.java +++ b/spring-beans/src/main/java/org/springframework/beans/PropertyValue.java @@ -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; /**