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

Instrumentation.retransformClasses(Class) drop MethodParameters attribute

XMLWordPrintable

    • x86_64
    • windows_7

      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.


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

              Created:
              Updated:
              Resolved: