Skip to content

Conversation

graalvmbot
Copy link
Collaborator

The new exception will be as follows:

org.graalvm.nativeimage.MissingReflectionRegistrationError: The program tried to reflectively access the proxy class inheriting [Interface1, Interface2] without it being registered for runtime reflection. Add [Interface1, Interface2] to the dynamic proxy metadata to solve this problem. Note: The order of interfaces used to create proxies matters. See https://www.graalvm.org/latest/reference-manual/native-image/metadata/#dynamic-proxy for help.
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.forProxy(MissingReflectionRegistrationUtils.java:116)
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.proxy.DynamicProxySupport.getProxyClass(DynamicProxySupport.java:176)
	at [email protected]/java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:47)
	at [email protected]/java.lang.reflect.Proxy.getProxyClass(Proxy.java:398)

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 25, 2023
@graalvmbot graalvmbot merged commit 4bd466c into master Aug 1, 2023
@graalvmbot graalvmbot deleted the lottet/GR-47365-base-proxy-mre branch August 1, 2023 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants