Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8006345 Report Synthesized Parameters in java.lang.reflect.Parameter API
  3. JDK-8006896

ClassReader doesn't see MethodParameters attr for method of anon inner class

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P3
    • 8
    • None
    • tools
    • 8
    • b78
    • Verified

    Description

      Although a MethodParameters attribute is present in the classfile,
      it's not visible through the language model.

      The problem is illustrated by the attached jtreg test case.

      Note: this is not a real test (it passed:-). Also, the code uses some bad coding practices. The problem is evidenced in the output, so run jtreg in verbose mode.


      Attachments

        Activity

          People

            emc Eric Mccorkle
            strarup Peter Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: