[
https://issues.apache.org/jira/browse/VELOCITY-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-453.
-------------------------------------------
> [PATCH] Fix IntrospectionCacheData caching
> ------------------------------------------
>
> Key: VELOCITY-453
> URL: https://issues.apache.org/jira/browse/VELOCITY-453
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5
> Reporter: Alexey Panchenko
> Assigned To: Will Glass-Husain
> Fix For: 1.5
>
> Attachments: ASTMethod.java.patch2006-09-28,
> ASTMethod_IntrospectionCacheData_cache,
> ASTMethod_IntrospectionCacheData_cache-v2-retry.patch,
> ASTMethod_IntrospectionCacheData_cache-v2.patch,
> IntrospectionCacheDataTest-no-copyright.java,
> IntrospectionCacheDataTest-no-copyright.java,
> IntrospectionCacheDataTest-v4.java, IntrospectionCacheDataTest.java
>
>
> The old code used Class[].hashCode() in MethodCacheKey.hashCode()
> implementation.
> hashCode() is not overriden for arrays so it returns different value for each
> array instance.
> The attached is the correct implementation and a test case to prove the
> caching actually works.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]