Merge pull request #596 from ekrich/fix/printstacktrace

Fix stack trace printing in test
This commit is contained in:
Havoc Pennington 2018-11-01 11:59:46 -04:00 committed by GitHub
commit 62b20cc994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,7 @@ abstract trait TestUtils {
"possibly caused by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6446627",
nf)
case e: Exception =>
System.err.println(e.getStackTrace.toString);
e.printStackTrace(System.err)
throw new AssertionError("failed to make a copy via serialization", e)
}