From 2a9005b466d56b69b9d8856694662765e6a4ce7b Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Wed, 17 Sep 2014 21:54:49 +0400 Subject: [PATCH] Fixed IAE because of compiler bug. --- .../jet/lang/resolve/kotlin/FileBasedKotlinClass.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/kotlin/FileBasedKotlinClass.java b/compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/kotlin/FileBasedKotlinClass.java index 95ff01d4864..641cb62d7ee 100644 --- a/compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/kotlin/FileBasedKotlinClass.java +++ b/compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/kotlin/FileBasedKotlinClass.java @@ -81,8 +81,9 @@ public abstract class FileBasedKotlinClass implements KotlinJvmBinaryClass { @NotNull protected abstract byte[] getFileContents(); + // TODO public to be accessible in class object of subclass, workaround for KT-3974 @Nullable - protected static T create( + public static T create( @NotNull byte[] fileContents, @NotNull Function3 factory ) {