diff src/share/vm/c1/c1_LIR.cpp @ 2168:e4fee0bdaa85

7008809: should report the class in ArrayStoreExceptions from compiled code Reviewed-by: iveresov, twisti
author never
date Mon, 24 Jan 2011 13:34:18 -0800
parents ac637b7220d1
children 10ee2b297ccd
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIR.cpp	Fri Jan 21 13:03:13 2011 -0800
+++ b/src/share/vm/c1/c1_LIR.cpp	Mon Jan 24 13:34:18 2011 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -396,7 +396,7 @@
   , _should_profile(false)
 {
   if (code == lir_store_check) {
-    _stub = new ArrayStoreExceptionStub(info_for_exception);
+    _stub = new ArrayStoreExceptionStub(object, info_for_exception);
     assert(info_for_exception != NULL, "store_check throws exceptions");
   } else {
     ShouldNotReachHere();