A non-synthetic method of a synthetic class is marked as synthetic by these lines in com.sun.tdk.jcov.processing.CombinerDataProcessor:
if ((c.getAccess() & Opcodes.ACC_SYNTHETIC) != 0 && (m.getAccess() & Opcodes.ACC_SYNTHETIC) == 0){
newAccess = m.getAccess() | Opcodes.ACC_SYNTHETIC;
}
Per JVMS $4.7.8 not all methods of a synthetic class are synthetic.
if ((c.getAccess() & Opcodes.ACC_SYNTHETIC) != 0 && (m.getAccess() & Opcodes.ACC_SYNTHETIC) == 0){
newAccess = m.getAccess() | Opcodes.ACC_SYNTHETIC;
}
Per JVMS $4.7.8 not all methods of a synthetic class are synthetic.
- blocks
-
CODETOOLS-7903274 Pluggable instrumentation in JCov
- Resolved