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

HotSpot must preserve EnclosingMethod attribute

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b39
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: