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

idlj creates superfluous folder hierarchy for nested prefixed packages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • other-libs
    • merlin
    • generic
    • generic
    • Not verified



        Name: rlT66838 Date: 11/17/99


        java version "1.3beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
        Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

        Create file test.idl containing the following:

        module mine {
        module inner {
        interface MyInterface {
        };
        };
        };

        Compile using command: idlj -pkgPrefix mine com.me test.idl
        The correct output is produced in folder hierarchy com\me.

        However, a superfluous empty folder hierarchy mine\inner is also created.
        This extra folder hierarchy should be created only if the -pkgPrefix option is
        absent. They should not be created with the -pkgPrefix option present.
        The extra folder hierarchy is not created if module inner is removed and
        MyInterface is in top-level module mine.
        (Review ID: 97739)
        ======================================================================

              kcavanauorcl Ken Cavanaugh (Inactive)
              rlewis Roger Lewis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: