Test visibility of anonymous classes for callable references

This commit is contained in:
Alexander Udalov
2015-07-10 16:04:13 +03:00
parent 3b2be6212d
commit f8815d9450
6 changed files with 79 additions and 1 deletions
@@ -65,7 +65,7 @@ public class PropertyReferenceCodegen(
v.defineClass(
element,
V1_6,
ACC_FINAL or ACC_SUPER or AsmUtil.getVisibilityAccessFlagForAnonymous(classDescriptor), // TODO: test inline
ACC_FINAL or ACC_SUPER or AsmUtil.getVisibilityAccessFlagForAnonymous(classDescriptor),
asmType.getInternalName(),
null,
superAsmType.getInternalName(),