Skip to content

How to make method from superclass available in reflection config? #3456

Answered by borkdude
borkdude asked this question in Q&A
Discussion options

You must be logged in to vote

I may have found a solution. When I only include String without any other methods and also notify from Object, I see them both in the native image:

[{"name": "java.lang.Object",
  "methods": [{"name": "notify"}]},
 {"name": "java.lang.String"}]
public java.lang.String java.lang.String.toString()
public final native void java.lang.Object.notify()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by borkdude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant