Skip to content

Commit

Permalink
ASM test fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos committed Oct 11, 2022
1 parent 1a25e9e commit e8552b5
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,12 @@ public AnnotationVisitor visitTypeAnnotation(
return null;
}

@Override
public ClassVisitor getDelegate() {
//do nothing
return null;
}

private Class getClassForName(final String className) {
try {
final OsgiRegistry osgiRegistry = ReflectionHelper.getOsgiRegistryInstance();
Expand Down Expand Up @@ -303,7 +309,7 @@ private Class getClassForName(final String className) {

private static class ClassReaderWrapper {
private static final Logger LOGGER = Logger.getLogger(ClassReader.class.getName());
private static final int WARN_VERSION = Opcodes.V19;
private static final int WARN_VERSION = Opcodes.V20;
private static final int INPUT_STREAM_DATA_CHUNK_SIZE = 4096;

private final byte[] b;
Expand Down

0 comments on commit e8552b5

Please sign in to comment.