Skip to content

Commit

Permalink
7329: Exception while opening Method Profile page.
Browse files Browse the repository at this point in the history
Reviewed-by: hirt
  • Loading branch information
Suchita Chaturvedi committed Jul 15, 2021
1 parent 11e547a commit 362414b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public Image getImage(Object key) {
} else if (key instanceof IMCFrame) {
method = ((IMCFrame) key).getMethod();
}
if (method != null) {
if ((method != null) && (method.getModifier() != null)) {
if ((method.getModifier() & Modifier.PUBLIC) != 0) {
return mwft.getFrameType() != Type.INTERPRETED ? publicJitMethodImage : publicMethodImage;
} else if ((method.getModifier() & Modifier.PROTECTED) != 0) {
Expand Down

0 comments on commit 362414b

Please sign in to comment.