src/share/vm/oops/instanceKlass.hpp

changeset 6351
f9e35a9dc8c7
parent 6316
85318d1fe8fe
child 6377
b8413a9cbb84
     1.1 --- a/src/share/vm/oops/instanceKlass.hpp	Wed Mar 05 11:28:33 2014 -0800
     1.2 +++ b/src/share/vm/oops/instanceKlass.hpp	Mon Feb 10 21:29:14 2014 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2014, 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 @@ -554,6 +554,7 @@
    1.11      if (hk == NULL) {
    1.12        return NULL;
    1.13      } else {
    1.14 +      assert(*hk != NULL, "host klass should always be set if the address is not null");
    1.15        return *hk;
    1.16      }
    1.17    }

mercurial