Issue #5475 - Adding debug log output for asmVersion detect
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
a3e3632340
commit
7155066d4a
|
@ -107,7 +107,10 @@ public class AnnotationParser
|
|||
int asmFieldId = asmVersion.get();
|
||||
try
|
||||
{
|
||||
return (int)Opcodes.class.getField("ASM" + asmFieldId).get(null);
|
||||
String fieldName = "ASM" + asmFieldId;
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("Using ASM API from {}.{}", Opcodes.class.getName(), fieldName);
|
||||
return (int)Opcodes.class.getField(fieldName).get(null);
|
||||
}
|
||||
catch (Throwable e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue