mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8006949: Update hotspot for MethodParameters format change
8006907: Hotspot should reject classfiles with multiple MethodParameters attributes Update to Hotspot's processing of MethodParameters attributes in classfiles Reviewed-by: coleenp, jrose
This commit is contained in:
parent
6c6a537471
commit
16990e896a
3 changed files with 32 additions and 24 deletions
|
@ -1620,7 +1620,7 @@ JVM_ENTRY(jobjectArray, JVM_GetMethodParameters(JNIEnv *env, jobject method))
|
|||
// For a 0 index, give a NULL symbol
|
||||
Symbol* const sym = 0 != params[i].name_cp_index ?
|
||||
mh->constants()->symbol_at(params[i].name_cp_index) : NULL;
|
||||
int flags = build_int_from_shorts(params[i].flags_lo, params[i].flags_hi);
|
||||
int flags = params[i].flags;
|
||||
oop param = Reflection::new_parameter(reflected_method, i, sym,
|
||||
flags, CHECK_NULL);
|
||||
result->obj_at_put(i, param);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue