• Andy McFadden's avatar
    Correct handling of certain incompatible class changes. · 686e1e23
    Andy McFadden authored
    Tests 065 and 066 depened on the old behavior of the verifier.  Updating
    them to the new behavior wasn't enough, though, because they weren't
    reporting the right error.  The verifier's resolution code now examines
    the exception to see if the load failure was caused by an incompatible
    class change error.
    
    I also updated the description of test 071 to note that it will fail on
    the device if you don't have an sdcard.
    
    Added a method to get the exception "cause" field.  It handles the
    "uninitialized" state, which I keep forgetting about.
    
    Spruced up dvmDumpObject, which hadn't been used in a while.  Fixed a
    warning in Profile.c.
    
    For internal bug 1866729.
    686e1e23
Exception.h 5.5 KB