PropertyValue declares its cache fields as transient

Issue: SPR-12377
master
Juergen Hoeller 10 years ago
parent ff8655846d
commit a13bb69cbe
  1. 6
      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;
/**

Loading…
Cancel
Save