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

idlj no longer recognizes pragma javaPackage [update the docs]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.1, 1.4.0
    • other-libs
    • beta3
    • generic, sparc
    • generic, solaris_7
    • Verified



        Name: krC82822 Date: 07/30/2001


        30 Jul 2001, eval1127@eng -- replaced by (supported via) "-pkgPrefix" cmd-line
        option to idlj. However, we need to fix the docs to remove refs to the pragma
        --------------
        versions 1.3.1 and 1.4 beta

        The idlj compiler pretends not to know the javaPackage pragma which used to work
        with idltojava compiler and is also mentioned in
        http://java.sun.com/j2se/1.3/docs/guide/idl/jidlGlossary.html
        [and http://java.sun.com/j2se/1.4/docs/guide/idl/jidlGlossary.html]

        reproduce problem: insert a line into an idl file similar to this:
                           #pragma javaPackage "cadagent.pdm"
                           run idlj

        error message:
        ..\..\../src/PdmCon/idl/PdmProcessor.idl (line 13): Unknown pragma
        `_javaPackage'. Line ignored.
        #pragma javaPackage "cadagent.pdm"
                            ^

        note: if I really use an unknown pragma identifier there is no "_" in the error
        message: insert #pragma itsAnIllusion "cadagent.pdm"
                   run idlj

        error message:
        ..\..\../src/PdmCon/idl/PdmProcessor.idl (line 13): Unknown pragma
        `itsAnIllusion'. Line ignored.
        #pragma itsAnIllusion "cadagent.pdm"
                              ^
        (Review ID: 124063)
        ======================================================================
        ****************************************************************************

        ###@###.### 2001-09-24

        Fix verified OK
        - using docs at:
        http://java.sun.com/j2se/1.2/docs/guide/idl/jidlGlossary.html
        http://java.sun.com/j2se/1.3/docs/guide/idl/jidlGlossary.html
        http://java.sun.com/j2se/1.4/docs/guide/idl/jidlGlossary.html

        ****************************************************************************

              duke J. Duke
              kryansunw Kevin Ryan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: