History log of /libcore/luni/src/test/java/libcore/java/lang/ClassCastExceptionTest.java
Revision Date Author Comments
61927cc10bf0c26767c9f28da1205e53f87b2697 08-Oct-2015 Narayan Kamath <narayan@google.com> ClassCastExceptionTest : Update test expectations.

(cherry picked from commit 1f50635df1f5a600d0b9911a1238fc4420cfd0cd)

Change-Id: I624b28aac1f771aef7819ecb0ccc087692cbf319
87778fb754e6e9bf04e1d8e10fd13f49cc2aa608 14-Jul-2015 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix ClassCastExceptionText.

Updated ClassCastException message to contain more
information.

Change-Id: I5a944f57daa417d5009db4d2acb904f0007b31e9
174ee29b8c5f3923ec872a33112cb076214952f3 23-Nov-2011 Jesse Wilson <jessewilson@google.com> Remove some exceptions from the libcore test run log.

These are benign but distracting when reading through the logs.

(cherry picked from commit 090e760f4c413136435192f7847ac5d25e022e4f)

Change-Id: I54d18c101564397aaddbe570bc9c460917a60cf7
456a2a989eba2838663b1d802abd44f03193e0ae 20-Jun-2012 Elliott Hughes <enh@google.com> Move tests of runtime-generated detail messages into the runtime's tests.

(cherry picked from commit e83c2607f81cb04865a6d69b1bda07ae080d4bc5)

Change-Id: Iaf196d29448ae093ec055203ee67e25c2269c5b4
91084450d27ac954dfd0a937373fb675547655a7 09-Mar-2011 Dan Bornstein <danfuzz@android.com> Add more exception message tests.

Change-Id: Ib63c8d9c3e544b5d46453c3b993a7e7e6d778fe5
415c7497ec02890a73eb293f98f69c1f6983389b 18-Nov-2010 Elliott Hughes <enh@google.com> Throw ClassCastExceptions with good detail messages from the library.

Fix Class' methods to produce the same detail messages as the VM, remove
cruft from Arrays (so we throw the exceptions direct from the VM, like the RI
does), and fix a handful of classes that need to simulate casting because
of erasure.

Bug: 3210374
Change-Id: Ie8d1b48e069174bac60899a0530dbc8cf55fd023
feebfd5e2743f5832a9e21b6475098fba1867e6a 18-Nov-2010 Elliott Hughes <enh@google.com> Add a basic test for ClassCastException detail messages.

Bug: 3210374
Change-Id: Ifff09b36a5b3aeb118dd02caac781139bb840e6d