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

Instrumentation.retransformClasses(Class) drop MethodParameters attribute

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_7

      Description

      A DESCRIPTION OF THE PROBLEM :
      Instrumentation.retransformClasses(Class) drop MethodParameters attribute which existed in the original class file. at least jdk 8u202 and 8u241 do the same thing, it cause Mybatis cannot get correct names of the paramters which not set '@Param' annotation in a '@Mapper' interface's multiple parameter method, if running with a javaagent which retransforms all user classes, for example, JMockit, a coverage test tool.


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pnarayanaswa Praveen Narayanaswamy
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: