Return-Path: X-Original-To: apmail-shiro-dev-archive@www.apache.org Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 792E7991A for ; Wed, 28 Dec 2011 15:50:53 +0000 (UTC) Received: (qmail 33134 invoked by uid 500); 28 Dec 2011 15:50:53 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 32989 invoked by uid 500); 28 Dec 2011 15:50:52 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 32972 invoked by uid 99); 28 Dec 2011 15:50:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 15:50:52 +0000 X-ASF-Spam-Status: No, hits=-2001.3 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 15:50:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AD46C12D743 for ; Wed, 28 Dec 2011 15:50:30 +0000 (UTC) Date: Wed, 28 Dec 2011 15:50:30 +0000 (UTC) From: "Les Hazlewood (Commented) (JIRA)" To: dev@shiro.apache.org Message-ID: <1173700622.48729.1325087430711.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1645405012.3250.1311587229575.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SHIRO-315) SubjectAwareExecutorService in shiro-core does not compile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SHIRO-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176692#comment-13176692 ] Les Hazlewood commented on SHIRO-315: ------------------------------------- Applying this patch causes the build to fail. Maria, could you please try it locally again? Thanks, Les > SubjectAwareExecutorService in shiro-core does not compile > ---------------------------------------------------------- > > Key: SHIRO-315 > URL: https://issues.apache.org/jira/browse/SHIRO-315 > Project: Shiro > Issue Type: Bug > Components: Authentication (log-in) > Affects Versions: 1.2.0 > Reporter: Maria Jurcovicova > Assignee: Kalle Korhonen > Attachments: extendingGenerics.patch > > > The method invokeAny in SubjectAwareExecutorService has wrong type. SubjectAwareExecutorService implements ExecutorService interface. > ExecutorService: > T invokeAny(Collection> tasks) > SubjectAwareExecutorService: > public T invokeAny(Collection> tasks) throws InterruptedException, ExecutionException { > Reason: It is not possible to override Collection> tasks with Collection> tasks. Such override would not be typesafe. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira