From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21654 invoked by alias); 7 Nov 2005 14:47:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21604 invoked by uid 48); 7 Nov 2005 14:47:23 -0000 Date: Mon, 07 Nov 2005 14:47:00 -0000 Message-ID: <20051107144723.21603.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "green at redhat dot com" X-SW-Source: 2005-11/txt/msg00942.txt.bz2 List-Id: ------- Comment #10 from green at redhat dot com 2005-11-07 14:47 ------- This patch seems overly complicated to me. I don't think we need the trampoline function and the ffi_call. Since we're just planning on throwing an exception, it seems like you should just be able to pass the class name in as a closure argument (cast as a ffi_cif?) and throw the exception directly, dispensing entirely with the ffi_cif and all the other interpreter->native call support. Let me know if I'm not describing this clearly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616