ios12: class_copyProtocolList crash
07 Jun 2021 | bug ios12 swiftIssue was reported on gitter and caused crash inside ObjC
library of RoboVM with following stacktrace:
0 _mapStrHash(_NXMapTable*, void const*) + 4
1 _NXMapMember(_NXMapTable*, void const*, void**) + 52
2 NXMapGet + 20
3 getProtocol(char const*) + 28
4 class_copyProtocolList + 328
5 [J]org.robovm.objc.ObjCRuntime.class_copyProtocolList(JJ)J + 4358277632
Issue was reproduced on iOS12 simulator. Sample was simplified to following RoboVM/Java
snippet: