summaryrefslogtreecommitdiff
path: root/dx/src/com/android/dx/cf/code/ConcreteMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'dx/src/com/android/dx/cf/code/ConcreteMethod.java')
-rw-r--r--dx/src/com/android/dx/cf/code/ConcreteMethod.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/dx/src/com/android/dx/cf/code/ConcreteMethod.java b/dx/src/com/android/dx/cf/code/ConcreteMethod.java
index 2210c89af..b544add77 100644
--- a/dx/src/com/android/dx/cf/code/ConcreteMethod.java
+++ b/dx/src/com/android/dx/cf/code/ConcreteMethod.java
@@ -138,7 +138,8 @@ public final class ConcreteMethod implements Method {
* @return true if the method is being defined on an interface.
*/
public final boolean isDefaultOrStaticInterfaceMethod() {
- return (classFile.getAccessFlags() & AccessFlags.ACC_INTERFACE) != 0;
+ return (classFile.getAccessFlags() & AccessFlags.ACC_INTERFACE) != 0
+ && !getNat().isClassInit();
}
/**