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

Signatures for nested classes contain redundant information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • tools
    • b40
    • generic
    • generic

      The signatures generated by the compiler contain redundant information.
      Consider the code:

      package foo
      class Outer<T> {
        class Inner<S> {...}
      }

      and a type expression

      Outer<X>.Inner<Y>

      The signature produced is (as I recall):

      Lfoo/Outer<X>;,Lfoo/Outer/Inner<Y>;

      rather than say

      Lfoo/Outer<X>/Inner<Y>;

      Outer

            gafter Neal Gafter (Inactive)
            gbrachasunw Gilad Bracha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: