Relates :
|
Sometimes, a Java adapter can't be generated because it's simply too big, e.g. a class with somewhere between 4600-4700 methods will do. Since adapters are being generated also to determine whether a class can be treated as a SAM type (JDK-8067935), even querying this can fail for large classes. As a basic fix, at least we should capture all ASM related error conditions and robustly report it and also presume that for such classes isAutoConvertibleFromFunction is false