[
https://issues.apache.org/jira/browse/SOLR-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003674#comment-13003674
]
Yonik Seeley commented on SOLR-2410:
------------------------------------
Here's an even smaller version w/ no dependencies:
{code}
class C<T> {
}
class A<T1> {
public T1[] arr = (T1[])(new Object[1]);
}
class B<T2> extends A<C<T2>> {
public C<T2> tst() {
return arr[0];
}
public static void main(String[] args) {
new B<String>().tst();
}
}
{code}
> 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: [email protected]
For additional commands, e-mail: [email protected]