javaClass<T> is supported for reified T

This commit is contained in:
Denis Zharkov
2014-10-06 15:29:26 +04:00
committed by Andrey Breslav
parent f3c49c605f
commit fc1d8dd9ce
7 changed files with 62 additions and 2 deletions
@@ -118,6 +118,10 @@ public class Intrinsics {
throwUndefinedForReified();
}
public static void reifyJavaClass(int parameterTypeIndex) {
throwUndefinedForReified();
}
public static <T extends Throwable> T sanitizeStackTrace(T throwable) {
StackTraceElement[] stackTrace = throwable.getStackTrace();
ArrayList<StackTraceElement> list = new ArrayList<StackTraceElement>(stackTrace.length);