Skip to content

Commit a13bb69

Browse files
committed
PropertyValue declares its cache fields as transient
Issue: SPR-12377
1 parent ff86558 commit a13bb69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-beans/src/main/java/org/springframework/beans/PropertyValue.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -58,10 +58,10 @@ public class PropertyValue extends BeanMetadataAttributeAccessor implements Seri
5858
volatile Boolean conversionNecessary;
5959

6060
/** Package-visible field for caching the resolved property path tokens */
61-
volatile Object resolvedTokens;
61+
transient volatile Object resolvedTokens;
6262

6363
/** Package-visible field for caching the resolved PropertyDescriptor */
64-
volatile PropertyDescriptor resolvedDescriptor;
64+
transient volatile PropertyDescriptor resolvedDescriptor;
6565

6666

6767
/**

0 commit comments

Comments
 (0)