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

HotSpot must preserve EnclosingMethod attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • hotspot
    • b39
    • generic
    • generic

      As part of the reflection support for generics, the EnclosingMethod attribute
      was added to the 1.5 class file format to allow proper reflection on the type
      variables of anonymous classes declared inside generified methods. The JVM needs
      to parse and preserve this attribute and return it from certain reflective
      calls.

            kbr Kenneth Russell (Inactive)
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: