Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEAB745A8 for ; Mon, 27 Jun 2011 07:04:23 +0000 (UTC) Received: (qmail 96269 invoked by uid 500); 27 Jun 2011 07:04:22 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 95750 invoked by uid 500); 27 Jun 2011 07:04:14 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 95738 invoked by uid 99); 27 Jun 2011 07:04:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 07:04:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 07:04:01 +0000 Received: by vws10 with SMTP id 10so3764885vws.30 for ; Mon, 27 Jun 2011 00:03:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.110.77 with SMTP id m13mr930665vcp.180.1309158220171; Mon, 27 Jun 2011 00:03:40 -0700 (PDT) Received: by 10.220.186.135 with HTTP; Mon, 27 Jun 2011 00:03:40 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Jun 2011 09:03:40 +0200 Message-ID: Subject: Re: [Javaflow] Weird ClassCastException and ClassNotFoundExceptions during build From: Torsten Curdt To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hey Jeff, the good news - I was able to reproduce it with your code base. Both the exceptions during rewrite and the exception during resume. I haven't looked at the ASM code in a long time. Seems like there is something fishy going on. Maybe the exceptions prevent proper instrumentation. I would have to dig into that. There a couple of things you can try. - Try the ClassLoader based rewriting to see if you still get the exceptions - Question is why the classes cannot be found. Check the classpath. - Give the old BCEL rewriting a try. Just to compare the results. Either way - a test case that can reproduce this in the javaflow tests would make it much easier for me to help you out. HTH cheers, Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org