Mercurial > hg > graal-compiler
changeset 9897:65e23a65de9d
Fix unit test
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Wed, 05 Jun 2013 18:35:09 +0200 |
parents | 5945a36ccba4 |
children | 2f72106d54c7 |
files | graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/CompressedOopTest.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/CompressedOopTest.java Wed Jun 05 15:11:58 2013 +0200 +++ b/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/CompressedOopTest.java Wed Jun 05 18:35:09 2013 +0200 @@ -306,7 +306,7 @@ return result; } - public static void compareAndSwapTest(Object c1, Object c2, Object c3) { + public static void compareAndSwapTest(Object c1, Object c2, Object c3) throws ClassCastException{ @SuppressWarnings("unchecked") AtomicReference<Object> cas = (AtomicReference<Object>) c1; cas.compareAndSet(c2, c3);