Fix empty stack trace in assertion for platform typed expression

This commit is contained in:
Alexander Udalov
2014-10-23 18:32:47 +04:00
parent 27977cda23
commit c50ca3ab86
3 changed files with 39 additions and 2 deletions
@@ -98,7 +98,8 @@ public class Intrinsics {
}
private static final Set<String> METHOD_NAMES_TO_SKIP = new HashSet<String>(Arrays.asList(
"throwNpe", "checkReturnedValueIsNotNull", "checkFieldIsNotNull", "checkParameterIsNotNull", "throwParameterIsNullException"
"throwNpe", "checkExpressionValueIsNotNull", "checkReturnedValueIsNotNull", "checkFieldIsNotNull", "checkParameterIsNotNull",
"throwParameterIsNullException"
));
public static <T extends Throwable> T sanitizeStackTrace(T throwable) {