Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4430551

Interceptors.idl contains module IOP which should be in IOP.idl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • beta2
    • unknown
    • solaris_2.6
    • Not verified

        In the process of fixing

                4428658:
                Wrong RepositoryId generation from some of the
                Portable Interceptors IDL files

        I found that some of the CSIv2 files would pass IDL compilation but
        fail when the generated source was being compiled. I spent hours
        trying to figure it out. I finally thought it was a compiler bug.
        But just now I stumbled on the reason.

        The Interceptors.idl file contains some definitions for module IOP.
        I'm not sure why this is the case now. Last fall, the parts of other
        modules (i.e., Messaging, IOP) which interceptors referenced where
        moved into their own idl files IOP.idl and Messaging.idl respectively.
        For some reason, parts of IOP are still in Interceptors.idl.

        This is what is causing the CSIv2 generated files not to compile,
        since they do not see the definitions and end up emitting IOP.foo and
        instead of org.omg.IOP.foo.

              hcarr Harold Carr
              hcarr Harold Carr
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: