OSDN Git Service

Make exception logging a little prettier.
authorAndy McFadden <fadden@android.com>
Thu, 16 Sep 2010 20:33:32 +0000 (13:33 -0700)
committerAndy McFadden <fadden@android.com>
Thu, 16 Sep 2010 20:33:32 +0000 (13:33 -0700)
commitde952db74f54108630a3dd24af0b38e583b62ed3
tree0ea8ff04a9e2104fa423eb0e7b79d882badd98cf
parent52b31dfea16f5a7b7bffddf65b493336ef0befee
Make exception logging a little prettier.

Convert the class descriptor to dotted form when logging an exception
from the VM (e.g. when CheckJNI gets upset).  Instead of

  Ljava/lang/Throwable;: yikes
    at android.test.JNITest.part1a(Native Method)

we now show:

  java.lang.Throwable: yikes
    at android.test.JNITest.part1a(Native Method)

Change-Id: I8b65920b85f03a1871e6a417b43b269b448340d5
vm/Exception.c