stackparam icon indicating copy to clipboard operation
stackparam copied to clipboard

abbreviate package names

Open jfager opened this issue 8 years ago • 2 comments

This changes the displayed class name from really.long.package.name.Class to r.l.p.n.Class for classes that have not overridden Object.toString(). Also replaces literal newlines with \n.

jfager avatar Jul 28 '17 17:07 jfager

Thanks for the PR, will test. I wonder if it will fail https://github.com/cretz/stackparam/blob/d42fd0a15fdc97ed02f5fc2c998143a2e4402a28/javalib/agent-tests/src/test/java/stackparam/ThrowableTest.java.

cretz avatar Jul 28 '17 20:07 cretz

Sorry about that, forgot to run cargo test. Fixed now.

jfager avatar Jul 28 '17 20:07 jfager