idlj drops module names from <interface>Helper.id()

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 1.3.0
    • Component/s: other-libs
    • x86
    • windows_nt



      Name: krT82822 Date: 02/09/2000


      2/9/2000 eval1127@eng -- verified that with a single source (IDL) file, the problem does not occur.

      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      This is a bug first reported in bug id 4269416. The bug has only been partially
      fixed.

      The idlj (idl to java) compiler misses module names in Helper class id when
      an interface or type is defined within an enclosed #include

      e.g compiling module1.idl & include.idl with idlj creates

      StringArrayHelper.id() = "IDL:types/StringArray:1.0"
      instead of
      StringArrayHelper.id() = "IDL:com/company/types/StringArray:1.0"

      // module1.idl
      module com{
      module company{

      #include "include.idl"

      module server{

      interface Server{
      void connect();
      };};};};

      // include.idl
      module types{
      typedef sequence <string> StringArray;
      };
      (Review ID: 100896)
      ======================================================================

            Assignee:
            Anita Jindal (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: