-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
8
-
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.
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.
- duplicates
-
JDK-8240908 RetransformClass does not know about MethodParameters attribute
-
- Resolved
-