Bug 416781 - reconcile compiler changes from BETA_JAVA8 with OT/J
- fix wrong bytecode in accessor method
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
index 8468d89..48f2e7a 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
@@ -2752,7 +2752,7 @@
 /* orig:
 			invoke(Opcodes.OPC_invokespecial, targetMethod, declaringClass);
   :giro */
-			if (targetMethod.declaringClass.isInterface())
+			if (targetMethod.declaringClass.isSynthInterface())
 				invoke(Opcodes.OPC_invokeinterface, targetMethod, declaringClass);
 			else
 				invoke(Opcodes.OPC_invokespecial, targetMethod, declaringClass);