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

Inner classes should be reached on the command line as pkg.Outer.Inner instead of pkg.Outer$Inner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • tools
    • None

      With pkg.Outer$Inner a terminal shell will happy expand $Inner to nothing, causing a confusion, where pkg.Outer$Inner will end up simply as pkg.Outer and we end up accessing the wrong class.

            jpai Jaikiran Pai
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: