compiling wireshare 6.0.2 (49c61f0e252b22e4c329ad1e92aadef319bc439e) fails with
compile-src:
[echo] compiling source for collection...
[mkdir] Created dir: /build/code-49c61f0/WireShare/components/collection/build
[mkdir] Created dir: /build/code-49c61f0/WireShare/components/collection/build/classes
[mkdir] Created dir: /build/code-49c61f0/WireShare/components/collection/build/lib
[ivy:resolve] [20250430091137] org.limewire#common;latest.integration
[javac] Compiling 71 source files to /build/code-49c61f0/WireShare/components/collection/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] warning: [options] source value 8 is obsolete and will be removed in a future release
[javac] warning: [options] target value 8 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /build/code-49c61f0/WireShare/components/collection/src/main/java/org/limewire/collection/PatriciaTrie.java:1594: error: lastEntry() in PatriciaTrie cannot implement lastEntry() in SequencedMap
[javac] private TrieEntry<K, V> lastEntry() {
[javac] ^
[javac] attempting to assign weaker access privileges; was public
[javac] where K#1,V#1,K#2,V#2 are type-variables:
[javac] K#1 extends Object declared in class PatriciaTrie
[javac] V#1 extends Object declared in class PatriciaTrie
[javac] K#2 extends Object declared in interface SequencedMap
[javac] V#2 extends Object declared in interface SequencedMap
java version
jdk17 fails with runtime error
jdk11 works