Commit 80d9d4dc authored by Lukáš Marek's avatar Lukáš Marek

Attempt to fix Java 7 and 8 compatibility

parent 6d884175
This diff is collapsed.
package ch.usi.dag.disl;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
public class ROClassWriter extends ClassWriter {
public ROClassWriter(ClassReader classReader, int flags) {
super(classReader, flags);
}
public ROClassWriter(int flags) {
super(flags);
}
@Override
protected String getCommonSuperClass(String type1, String type2) {
// same string as in super class
return "java/lang/Object";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment