Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 86213 invoked from network); 18 Dec 2010 12:01:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Dec 2010 12:01:57 -0000 Received: (qmail 15246 invoked by uid 500); 18 Dec 2010 12:01:57 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 15154 invoked by uid 500); 18 Dec 2010 12:01:57 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 15141 invoked by uid 99); 18 Dec 2010 12:01:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Dec 2010 12:01:56 +0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MISSING_MIMEOLE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [207.57.65.70] (HELO zeus.net.au) (207.57.65.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Dec 2010 12:01:47 +0000 Received: (qmail 91741 invoked by uid 16710); 18 Dec 2010 12:01:25 -0000 Received: from unknown (HELO [58.109.143.55]) ([58.109.143.55]) (envelope-sender ) by 207.57.65.70 (qmail-ldap-1.03) with SMTP for ; 18 Dec 2010 12:01:25 -0000 From: Peter Reply-To: Peter To: river-dev@incubator.apache.org Subject: Re: Fw: Re: Space/outrigger suggestions X-Mailer: Modest 3.1 References: <1292659919.3679.22.camel@Nokia-N900-51-1> <1292664371.621218002@192.168.2.228> <1292672616.4256.5.camel@Nokia-N900-51-1> <4D0C9D58.2000403@qcg.nl> In-Reply-To: <4D0C9D58.2000403@qcg.nl> Content-Type: multipart/alternative; boundary="=-zGDi93Q5GLeidf/sdF2Y" X-MSMail-Priority: Normal X-Priority: 3 Date: Sat, 18 Dec 2010 22:10:16 +1000 Message-Id: <1292674216.4438.5.camel@Nokia-N900-51-1> Mime-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --=-zGDi93Q5GLeidf/sdF2Y Content-Type: text/plain; charset=utf-8 Content-ID: <1292674215.4438.2.camel@Nokia-N900-51-1> Content-Transfer-Encoding: 7bit ----- Original message ----- > On 12/18/2010 12:43 PM, Peter wrote: > > If we check the bytecode for instanceof checks and type casts, using > > ASM, we could insert a type check and a handler that throws a checked > > exception. > > Before we start adding a extra dependency to the solution, shouldn't we > study the impact of plain generics first? No harm in studying the symptoms I suppose. The worst problem is unchecked type casts, if someone can find a way of checking them, then the symptoms go away. Cheers, Peter. > > Gr. Sim --=-zGDi93Q5GLeidf/sdF2Y--