Skip to content

Should use getDeclaredMethods instead of getMethods #522

Open
@kaibocai

Description

@kaibocai

Investigative information

Please provide the following:

  • Timestamp:
  • Function App name:
  • Function name(s) (as appropriate):
  • Invocation ID:
  • Region:

Repro steps

Provide the steps required to reproduce the problem:

Expected behavior

Provide a description of the expected behavior.

Actual behavior

Provide a description of the actual behavior observed.

Known workarounds

Provide a description of any known workarounds.

Related information

Provide any related information

  • Programming language used
  • Links to source
  • Bindings used

see the code here it should use getDeclaredMethods to get rid of loop unnecessary method from base class


Also if only compare method name then we cannot do method reload, we should also compare method signature.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions