Mercurial > hg > truffle
diff src/share/vm/prims/jvm.cpp @ 7983:24a91505f9d5
8006949: Update hotspot for MethodParameters format change
8006907: Hotspot should reject classfiles with multiple MethodParameters attributes
Summary: Update to Hotspot's processing of MethodParameters attributes in classfiles
Reviewed-by: coleenp, jrose
author | emc |
---|---|
date | Mon, 04 Feb 2013 13:05:32 -0500 |
parents | 815957d0203e |
children | 41d73c9b30a8 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvm.cpp Sun Feb 03 17:12:31 2013 -0500 +++ b/src/share/vm/prims/jvm.cpp Mon Feb 04 13:05:32 2013 -0500 @@ -1620,7 +1620,7 @@ // 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);