Mercurial > hg > truffle
comparison src/share/vm/oops/klass.hpp @ 10268:43083e670adf
8005056: NPG: Crash after redefining java.lang.Object
Summary: Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
author | coleenp |
---|---|
date | Mon, 13 May 2013 15:37:08 -0400 |
parents | 92ef81e2f571 |
children | 6bd680e9ea35 |
comparison
equal
deleted
inserted
replaced
10267:8b40495b9381 | 10268:43083e670adf |
---|---|
391 } | 391 } |
392 #endif | 392 #endif |
393 | 393 |
394 // vtables | 394 // vtables |
395 virtual klassVtable* vtable() const { return NULL; } | 395 virtual klassVtable* vtable() const { return NULL; } |
396 virtual int vtable_length() const { return 0; } | |
396 | 397 |
397 // subclass check | 398 // subclass check |
398 bool is_subclass_of(const Klass* k) const; | 399 bool is_subclass_of(const Klass* k) const; |
399 // subtype check: true if is_subclass_of, or if k is interface and receiver implements it | 400 // subtype check: true if is_subclass_of, or if k is interface and receiver implements it |
400 bool is_subtype_of(Klass* k) const { | 401 bool is_subtype_of(Klass* k) const { |