public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "jerico dot dev at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/32198] rmic fails if remote method throws superclass of RemoteException
Date: Thu, 19 Jun 2008 07:55:00 -0000	[thread overview]
Message-ID: <20080619075528.2362.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32198-13215@http.gcc.gnu.org/bugzilla/>



------- 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


  reply	other threads:[~2008-06-19  7:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-03 20:30 [Bug libgcj/32198] New: " marcus at better dot se
2008-06-19  7:55 ` jerico dot dev at gmail dot com [this message]
2008-06-19 15:27 ` [Bug libgcj/32198] " tromey at gcc dot gnu dot org
2008-06-24 17:36 ` cvs-commit at developer dot classpath dot org
2008-06-24 18:32 ` tromey at gcc dot gnu dot org
2008-06-24 18:32 ` tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080619075528.2362.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).