mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8051398: jvmti tests fieldacc002, fieldmod002 fail in nightly with errors: (watch#0) wrong location
Didn't handle NULL bcp for native methods Reviewed-by: dcubed, sspitsyn
This commit is contained in:
parent
037f9fdccf
commit
d230f0b4fd
4 changed files with 11 additions and 13 deletions
|
@ -987,17 +987,6 @@ ConstantPoolCacheEntry *cp_entry))
|
|||
int index = cp_entry->field_index();
|
||||
if ((ik->field_access_flags(index) & JVM_ACC_FIELD_ACCESS_WATCHED) == 0) return;
|
||||
|
||||
switch(cp_entry->flag_state()) {
|
||||
case btos: // fall through
|
||||
case ctos: // fall through
|
||||
case stos: // fall through
|
||||
case itos: // fall through
|
||||
case ftos: // fall through
|
||||
case ltos: // fall through
|
||||
case dtos: // fall through
|
||||
case atos: break;
|
||||
default: ShouldNotReachHere(); return;
|
||||
}
|
||||
bool is_static = (obj == NULL);
|
||||
HandleMark hm(thread);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue