[ 
https://issues.apache.org/jira/browse/SOLR-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003843#comment-13003843
 ] 

Dawid Weiss commented on SOLR-2410:
-----------------------------------

Yep, sorry for belated follow up, I went to sleep last night ;) The workaround 
is to access T[] as an Object[] -- the actual type of the object that is stored 
in that field. I like reverting to Object[] much more since this "feature" is 
quite nasty and puzzling, especially for people who haven't seen it before (I 
have seen it a few times, for example here: 
http://issues.carrot2.org/browse/HPPC-46). Glad I could help.

> ConcurrentLRUCache can throw class cast exception
> -------------------------------------------------
>
>                 Key: SOLR-2410
>                 URL: https://issues.apache.org/jira/browse/SOLR-2410
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: SOLR-2410.patch, SOLR-2410.patch
>
>
> ConcurrentLRUCache throws a class cast exception.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to