mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8007153: Ensure that MethodParameters API works properly with RedefineClasses
Adds code to HotSpot to properly update MethodParameter attributes' constant pool indexes when redefineClasses is called Reviewed-by: coleenp, sspitsyn
This commit is contained in:
parent
1439d121c2
commit
b56b3bc9aa
2 changed files with 14 additions and 0 deletions
|
@ -456,6 +456,8 @@ class Method : public Metadata {
|
|||
void print_codes_on(int from, int to, outputStream* st) const PRODUCT_RETURN;
|
||||
|
||||
// method parameters
|
||||
bool has_method_parameters() const
|
||||
{ return constMethod()->has_method_parameters(); }
|
||||
int method_parameters_length() const
|
||||
{ return constMethod()->method_parameters_length(); }
|
||||
MethodParametersElement* method_parameters_start() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue