Revert "Revert "Use IsAssignableFrom instead of IsSubclass for robustness.""
Don't use IsAssignableFrom, but check beforehand if the referrer is an interface. Otherwise, we are being too aggressive on removing clinit checks on interfaces (being a subclass doesn't imply the interface has been initialized). bug:21870666 This reverts commit 463580ca. (cherry picked from commit b783b408) Change-Id: Ida03f453c9b0d4dda87a5696098f9ffbd69a3aa3
Loading
Please sign in to comment