]> source.dussan.org Git - xmlgraphics-fop.git/commit
Bugzilla #46962: Fixed deadlock in PropertyCache.
authorVincent Hennebert <vhennebert@apache.org>
Thu, 22 Mar 2012 17:04:12 +0000 (17:04 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Thu, 22 Mar 2012 17:04:12 +0000 (17:04 +0000)
commit4e26880397f917dc537993896adff1dcc0e96685
tree9d7c0e3da776534d020f276cfaf42f189b91fb81
parentc1653ad47548cff23a614559544fe0b0aec3522d
Bugzilla #46962: Fixed deadlock in PropertyCache.

Re-wrote the PropertyCache class, leveraging Java 1.5 concurrency features.
Implemented equals and hashCode on many Property sub-classes to make the caching more effective

Patch by Alexios Giotis, applied with the following minor modifications:
* Javadoc improvements to PropertyCache
* Factorize into new CompareUtil class code often used by equals and hashCode implementations

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1303891 13f79535-47bb-0310-9956-ffa450edef68
33 files changed:
src/java/org/apache/fop/datatypes/LengthBase.java
src/java/org/apache/fop/fo/expr/NCnameProperty.java
src/java/org/apache/fop/fo/expr/NumericProperty.java
src/java/org/apache/fop/fo/expr/RelativeNumericProperty.java
src/java/org/apache/fop/fo/flow/Marker.java
src/java/org/apache/fop/fo/properties/BackgroundPositionShorthand.java
src/java/org/apache/fop/fo/properties/CharacterProperty.java
src/java/org/apache/fop/fo/properties/ColorProperty.java
src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
src/java/org/apache/fop/fo/properties/CommonFont.java
src/java/org/apache/fop/fo/properties/CommonHyphenation.java
src/java/org/apache/fop/fo/properties/CondLengthProperty.java
src/java/org/apache/fop/fo/properties/EnumLength.java
src/java/org/apache/fop/fo/properties/EnumNumber.java
src/java/org/apache/fop/fo/properties/EnumProperty.java
src/java/org/apache/fop/fo/properties/FixedLength.java
src/java/org/apache/fop/fo/properties/FontFamilyProperty.java
src/java/org/apache/fop/fo/properties/KeepProperty.java
src/java/org/apache/fop/fo/properties/LengthPairProperty.java
src/java/org/apache/fop/fo/properties/LengthProperty.java
src/java/org/apache/fop/fo/properties/LengthRangeProperty.java
src/java/org/apache/fop/fo/properties/ListProperty.java
src/java/org/apache/fop/fo/properties/NumberProperty.java
src/java/org/apache/fop/fo/properties/PercentLength.java
src/java/org/apache/fop/fo/properties/Property.java
src/java/org/apache/fop/fo/properties/PropertyCache.java
src/java/org/apache/fop/fo/properties/StringProperty.java
src/java/org/apache/fop/fo/properties/TableColLength.java
src/java/org/apache/fop/fo/properties/ToBeImplementedProperty.java
src/java/org/apache/fop/fo/properties/URIProperty.java
src/java/org/apache/fop/util/CompareUtil.java [new file with mode: 0644]
status.xml
test/java/org/apache/fop/StandardTestSuite.java