[ https://issues.apache.org/jira/browse/SOLR-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003676#comment-13003676 ]
Dawid Weiss commented on SOLR-2410: ----------------------------------- Btw. this is exactly the reason Collections declare Object[] toArray() and not T[] toArray -- in the latter case the compiler adds casts to the expression's argument type and collections can't know their component type after type erasure. Eh, C#/.NET is so much more elegant with generics. > 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 > > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org