0 Replies Latest reply on Mar 8, 2020 12:07 AM by 2643695

    jdk  Instrumentation.retransformClasses(Class) drop MethodParameters attribute

    2643695

      jdk Instrumentation.retransformClasses(Class) drop MethodParameters attribute which existed in the original class file. at least 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.