This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/32198] rmic fails if remote method throws superclass of RemoteException
- From: "jerico dot dev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 19 Jun 2008 07:55:28 -0000
- Subject: [Bug libgcj/32198] rmic fails if remote method throws superclass of RemoteException
- References: <bug-32198-13215@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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