src/share/vm/runtime/reflection.cpp

changeset 5211
efe8b7d64424
parent 5210
a589c78a8811
child 5213
4552a7633a07
     1.1 --- a/src/share/vm/runtime/reflection.cpp	Fri May 31 13:02:24 2013 +0200
     1.2 +++ b/src/share/vm/runtime/reflection.cpp	Fri May 31 20:24:58 2013 +0200
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -375,7 +375,7 @@
    1.11      }
    1.12    }
    1.13    klass = klass->array_klass(dim, CHECK_NULL);
    1.14 -  oop obj = ArrayKlass::cast(klass)->multi_allocate(len, dimensions, THREAD);
    1.15 +  oop obj = ArrayKlass::cast(klass)->multi_allocate(len, dimensions, CHECK_NULL);
    1.16    assert(obj->is_array(), "just checking");
    1.17    return arrayOop(obj);
    1.18  }

mercurial