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 3B32D4A1B for ; Mon, 27 Jun 2011 08:22:10 +0000 (UTC) Received: (qmail 88436 invoked by uid 500); 27 Jun 2011 08:22:09 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 87595 invoked by uid 500); 27 Jun 2011 08:22:03 -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 87451 invoked by uid 99); 27 Jun 2011 08:22:01 -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 08:22:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of whwayne@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bw0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 08:21:55 +0000 Received: by bwd7 with SMTP id 7so1360901bwd.30 for ; Mon, 27 Jun 2011 01:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=hlQ454cp/5NtFNAgO3fnH4IxrN95xAL1epRFI7uMf+k=; b=TQrQTwwb8l5XngLf3lUNriQr7eQita0q/PzdGpl0ZRQmGAwJSQYojUIJAzoPY/4VML 00ULpXJnG9UJH9+bFbxGCSDuxm7Fhpzuc9JxDJPnfWydUVKZExvUiv2DTEA9ZGTsaYp/ eYlQ7ka1BoNZ4pxUOa8cSuE2BCgTHuDsdFopU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VL5/UtSGxKS/xJGSHi9yAorfrpoPfG5+K9U7j0SM9M1ghku1PoZNrGeJOk826DsThl XOPyYor8QRr+yK1TG9gS2Nmzaiwl2nVZjf4YRr7xXFUnVjk7wLF1pvClyLn4xcZjLpnG JkZJW8UGfqeb7/QcL12DPisc+zYR0iQZ7XOlc= MIME-Version: 1.0 Received: by 10.204.24.68 with SMTP id u4mr3938145bkb.12.1309162894935; Mon, 27 Jun 2011 01:21:34 -0700 (PDT) Received: by 10.204.72.14 with HTTP; Mon, 27 Jun 2011 01:21:34 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Jun 2011 17:21:34 +0900 Message-ID: Subject: Re: [Javaflow] Weird ClassCastException and ClassNotFoundExceptions during build From: wayne To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I also met the first problem. but it seems I can get the rewritting classes. >From Wayne 2011/6/27 Torsten Curdt : > 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 > > -- .............................................. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org