From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21652 invoked by alias); 7 Nov 2005 14:47:25 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 21625 invoked by uid 48); 7 Nov 2005 14:47:24 -0000 Date: Mon, 07 Nov 2005 14:47:00 -0000 Message-ID: <20051107144724.21624.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: java-prs@gcc.gnu.org From: "green at redhat dot com" X-SW-Source: 2005-q4/txt/msg00290.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