GitHub PushEvent at 2014-02-01 15:15:23
Repository: android_libcore
Actor: cm-gerrit
Payload: {"shas":[["fdd61c877cdd981789c976c2418aec0285af7233","793930996a5d706002cbee396bb4088b9b62c190@google.com","Fix an ASCIICharsetEncoderTest testcase.\n\nDeal with truncated char sequences correctly.\n\nbug: 10729779\nChange-Id: I232b0ec899084270a6d621e6c7292ef8b94f8f7d","Narayan Kamath",true],["653203d1e85f9eca7467ecab60c6000f415aae5d","793930996a5d706002cbee396bb4088b9b62c190@google.com","Fix a CharsetEncoder bug.\n\nWhen malformed or unmappable characters span input\nbuffers, we'd end up setting a negative position on the\nbuffer.\n\nAlso fix up a few test cases which were wrong in\nseveral ways.\n- One test was simply checking for the wrong sort\n  of exception (unmappable vs malformed)\n- Another test was expecting encode() to throw an\n  error (and ignoring flush) but the API allows flush\n  to throw an error instead of encode.\n\nbug: 10729779\n\nChange-Id: I6560b749ca2445651d61ca651f8a5e388cf1c1b0","Narayan Kamath",true]],"size":2,"ref":"refs/heads/cm-11.0","head":"653203d1e85f9eca7467ecab60c6000f415aae5d"}