File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/jcore Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2002, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2002, 2023 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -438,8 +438,8 @@ protected void writeMethods() throws IOException {
438438 ArrayList <Method > valid_methods = new ArrayList <Method >();
439439 for (int i = 0 ; i < methods .length (); i ++) {
440440 Method m = methods .at (i );
441- long accessFlags = m .getAccessFlags ();
442- // overpass method
441+ long accessFlags = m .getAccessFlags () & JVM_RECOGNIZED_METHOD_MODIFIERS ;
442+ // skip overpass methods
443443 if (accessFlags == (JVM_ACC_PUBLIC | JVM_ACC_SYNTHETIC | JVM_ACC_BRIDGE )) {
444444 continue ;
445445 }
You can’t perform that action at this time.
0 commit comments