Gradle is unable to build for Ghidra 11.0.3, because the relocate() override in Blackfin_ElfRelocationHandler.java now must have return type RelocationResult instead of void.
Error log:
> Task :compileJava FAILED
/Users/wes/Code/opz-tools/ghidra-blackfin/src/main/java/ghidra/app/util/bin/format/elf/relocation/Blackfin_ElfRelocationHandler.java:13: error: Blackfin_ElfRelocationHandler is not abstract and does not override abstract method relocate(ElfRelocationContext,ElfRelocation,Address) in ElfRelocationHandler
public class Blackfin_ElfRelocationHandler extends ElfRelocationHandler {
^
/Users/wes/Code/opz-tools/ghidra-blackfin/src/main/java/ghidra/app/util/bin/format/elf/relocation/Blackfin_ElfRelocationHandler.java:21: error: relocate(ElfRelocationContext,ElfRelocation,Address) in Blackfin_ElfRelocationHandler cannot override relocate(ElfRelocationContext,ElfRelocation,Address) in ElfRelocationHandler
public void relocate(ElfRelocationContext elfRelocationContext, ElfRelocation relocation, Address relocationAddress)
^
return type void is not compatible with RelocationResult
/Users/wes/Code/opz-tools/ghidra-blackfin/src/main/java/ghidra/app/util/bin/format/elf/relocation/Blackfin_ElfRelocationHandler.java:20: error: method does not override or implement a method from a supertype
@Override
^
Gradle is unable to build for Ghidra 11.0.3, because the
relocate()
override in Blackfin_ElfRelocationHandler.java now must have return typeRelocationResult
instead ofvoid
.Error log: