Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-819

Bad mapping for method whose name clashes with its interface

    XMLWordPrintable

Details

    Description

      SourceForge Submitter: reverbel .
      According to the Java to IDL mapping spec
      (http://www.omg.org/cgi-bin/doc?formal/03-09-04), Java
      method, constant, or field names whose mapped name
      collides with the mapped name of their Java container
      are mapped with an additional trailing underscore. For
      example, if a remote Java interface Foo has a method
      foo, the OMG IDL interface is called Foo and the OMG
      IDL operation is called foo_.

      Currently JBoss adds no trailing underscore to the
      mapped name of such a method. As a consequence, clients
      cannot use an rmic-generated stub to call the method:
      the stub sends out a mapped method name with a trailing
      underscore, but the server expects a name with no
      trailing underscore and hence it throws BAD_OPERATION.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: