[
https://issues.apache.org/jira/browse/FOP-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexios Giotis resolved FOP-2400.
---------------------------------
Resolution: Fixed
Thank you for providing a test case. I could reproduce the issue with FOP 1.1
but not with FOP trunk after the recent ( 2014-07-23 12:03:37 +0000) commit by
Luis Bernardo. I also did a temporary local commit in PropertyCache.java to
check that the PropertyCache is indeed caching & returning among other,
instances of
org.apache.fop.fo.properties.CommonBorderPaddingBackground$BorderInfo.
{quote}
apache-fop $ git checkout fop-1_1
apache-fop $ ant clean package
apache-fop $ ./fop -fo hashcode_collision.fo -pdf hashcode_collision.pdf 2>&1 |
grep hashCode
INFO: 10 hashCode() collisions for org.apache.fop.fo.properties.ColorProperty
INFO: 20 hashCode() collisions for org.apache.fop.fo.properties.ColorProperty
apache-fop $ git checkout trunk
apache-fop $ ant clean package
apache-fop $ ./fop -fo hashcode_collision.fo -pdf hashcode_collision.pdf 2>&1 |
grep hashCode
apache-fop $ git-log | head -1
* 79d889c 2014-07-23 12:03:37 +0000 Luis Bernardo (HEAD, origin/trunk,
origin/HEAD, trunk)FOP-2307: Weird border color inheritance (hashCode
collisions); change suggested by Alexios Giotis.
{quote}
So, I am resolving this.
> HashCode collisions
> -------------------
>
> Key: FOP-2400
> URL: https://issues.apache.org/jira/browse/FOP-2400
> Project: Fop
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Jan Tošovský
> Priority: Minor
> Attachments: hashcode_collision.fo
>
>
> As discussed in https://issues.apache.org/jira/browse/FOP-2307 I've prepared
> a simple test case for testing hash collisions.
--
This message was sent by Atlassian JIRA
(v6.2#6252)