Introduced new reified marker needClassReification

It's not parametrised by index
This commit is contained in:
Denis Zharkov
2014-10-13 18:57:53 +04:00
committed by Andrey Breslav
parent c19c7d0ec7
commit 0087d861e1
2 changed files with 27 additions and 7 deletions
@@ -122,6 +122,10 @@ public class Intrinsics {
throwUndefinedForReified();
}
public static void needClassReification() {
throwUndefinedForReified();
}
public static <T extends Throwable> T sanitizeStackTrace(T throwable) {
StackTraceElement[] stackTrace = throwable.getStackTrace();
ArrayList<StackTraceElement> list = new ArrayList<StackTraceElement>(stackTrace.length);