Fix for KT-6552 IllegalAccessError in inline function with "when" over enum across modules

#KT-6552 Fixed
This commit is contained in:
Michael Bogdanov
2015-10-29 11:27:53 +03:00
parent 9e5af43ce1
commit 33bf314518
5 changed files with 26 additions and 1 deletions
@@ -47,7 +47,7 @@ public class MappingClassesForWhenByEnumCodegen {
cb.defineClass(
srcFile,
V1_6,
ACC_FINAL | ACC_SYNTHETIC,
ACC_FINAL | ACC_SYNTHETIC | ACC_PUBLIC,
mappingsClass.getInternalName(),
null,
OBJECT_TYPE.getInternalName(),