From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2384 invoked by alias); 19 Jun 2008 07:55:29 -0000 Received: (qmail 2363 invoked by uid 48); 19 Jun 2008 07:55:28 -0000 Date: Thu, 19 Jun 2008 07:55:00 -0000 Message-ID: <20080619075528.2362.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/32198] rmic fails if remote method throws superclass of RemoteException In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "jerico dot dev at gmail dot com" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2008-q2/txt/msg00085.txt.bz2 ------- Comment #1 from jerico dot dev at gmail dot com 2008-06-19 07:55 ------- I have got the same problem when trying to produce stubs for JBoss AS. Works fine with SUN, grmic throws the an exception however (see [2]). To reproduce download JBoss AS 4.2.2-GA source tarball from [1], compile it from source (using build/build.sh) and then try to generate stubs from server/output/classes/org/jboss/invocation/jrmp/server/JRMPInvoker.class [1] http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=548923 [2] rmic -classpath $LOCALCLASSPATH:server/classes/ -d stubs/ -keepgenerated -v1.2 -verbose -g org.jboss.invocation.jrmp.server.JRMPInvoker [Processing class org.jboss.invocation.jrmp.server.JRMPInvoker.class] [analyze class org.jboss.invocation.jrmp.server.JRMPInvoker] [implements org.jboss.invocation.Invoker] [implements java.rmi.Remote] [Generating class org.jboss.invocation.jrmp.server.JRMPInvoker_Stub] Package org.jboss.invocation.jrmp.server, name JRMPInvoker impl JRMPInvoker Exception in thread "main" gnu.classpath.tools.rmic.CompilationError: invoke, defined in org.jboss.invocation.Invoker, does not throw java.rmi.RemoteException at gnu.classpath.tools.rmic.SourceGiopRmicCompiler.compile(libgcj-tools.so.81) at gnu.classpath.tools.rmic.SourceGiopRmicCompiler.run(libgcj-tools.so.81) at gnu.classpath.tools.rmic.Main.run(libgcj-tools.so.81) at gnu.classpath.tools.rmic.Main.main(libgcj-tools.so.81) -- jerico dot dev at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jerico dot dev at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32198