when comparing ForgeSPI 0.6.0 and 0.10.0, some time between those two versions ModFileScanData::getAnnotations changed it's return type from List<AnnotationData> to Set<AnnotationData>. While the code in Kottle is still valid, it was calling a NoSuchMethodError because the return type of getAnnotations was expected to be a List, so the JVM signature was mismatched (see #4). A simple rebuild of the project would have fixed this problem, though I added in a ::toList method for safety in the future, in case the stated change is reverted.
when comparing ForgeSPI
0.6.0
and0.10.0
, some time between those two versionsModFileScanData::getAnnotations
changed it's return type fromList<AnnotationData>
toSet<AnnotationData>
. While the code in Kottle is still valid, it was calling aNoSuchMethodError
because the return type ofgetAnnotations
was expected to be aList
, so the JVM signature was mismatched (see #4). A simple rebuild of the project would have fixed this problem, though I added in a::toList
method for safety in the future, in case the stated change is reverted.