JavaAdapterFactory.isAutoConvertibleFromFunction should be more robust

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • None
    • b46
    • generic
    • generic

        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

              Assignee:
              Attila Szegedi
              Reporter:
              Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: