8161539: 8159666 breaks minimal VM
Replaces the shouldNotReachHere() with an assert Reviewed-by: coleenp, dholmes, cjplummer, gziemski
This commit is contained in:
parent
fdec5ff217
commit
0bcdf4f154
@ -786,7 +786,9 @@ public:
|
|||||||
static void purge_previous_versions(InstanceKlass* ik) { return; };
|
static void purge_previous_versions(InstanceKlass* ik) { return; };
|
||||||
static bool has_previous_versions() { return false; }
|
static bool has_previous_versions() { return false; }
|
||||||
|
|
||||||
void set_cached_class_file(JvmtiCachedClassFileData *data) { ShouldNotReachHere(); }
|
void set_cached_class_file(JvmtiCachedClassFileData *data) {
|
||||||
|
assert(data == NULL, "unexpected call with JVMTI disabled");
|
||||||
|
}
|
||||||
JvmtiCachedClassFileData * get_cached_class_file() { return (JvmtiCachedClassFileData *)NULL; }
|
JvmtiCachedClassFileData * get_cached_class_file() { return (JvmtiCachedClassFileData *)NULL; }
|
||||||
|
|
||||||
#endif // INCLUDE_JVMTI
|
#endif // INCLUDE_JVMTI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user