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

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

      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.


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

              Created:
              Updated:
              Resolved: