aboutsummaryrefslogtreecommitdiffstats
path: root/common/tests/src/com/android/utils/XmlUtilsTest.java
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-09-18 14:19:15 -0700
committerTor Norbye <tnorbye@google.com>2012-09-18 14:19:15 -0700
commit2e3527410003859ee6bcb3a2971d72bcfdbcc829 (patch)
tree62b70635e6e2bc8daa2318235bfe4966f6b3fa07 /common/tests/src/com/android/utils/XmlUtilsTest.java
parent6184f12fa097e1c5bddfe50700b3b0740c736a5a (diff)
downloadsdk-2e3527410003859ee6bcb3a2971d72bcfdbcc829.zip
sdk-2e3527410003859ee6bcb3a2971d72bcfdbcc829.tar.gz
sdk-2e3527410003859ee6bcb3a2971d72bcfdbcc829.tar.bz2
Improvements to stacktrace handler for constructors
This changeset improves the SourceRevealer for certain types of stacktraces: (1) Constructors. If your class initializes fields using code, these are logically grouped into the constructor, but the linenumbers do not fit the constructor source range. Before this CL, this would cause the revealer to show the constructor method rather than the field initialization line. (2) Class initializers. If you clicked on a class initializer method, the IDE would throw an NPE. There's now some special handling to deal with these. Change-Id: Ibb3b7dcf13a69018f75fd12648d1f6b5c45625cc
Diffstat (limited to 'common/tests/src/com/android/utils/XmlUtilsTest.java')
0 files changed, 0 insertions, 0 deletions