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

rmic requires mangled inner class names on command line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.1
    • core-libs
    • None
    • 1.2fcs
    • sparc
    • solaris_2.5.1
    • Not verified

      rmic doesn't handle inner classes properly. First, it doesn't understand the syntax X.Y.Z to mean "package X, class Y, inner class Z". I have to use the generated name "X.Y$Z", which should be hidden from users. javap shares this problem.

      Second, it generates the wrong class names. The output from X.Y$Z is Y_skel.class, not Y$Z_skell.class.

            peterjones Peter Jones (Inactive)
            karnoldsunw Kenneth Arnold (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: