You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Drifter-yh (via GitHub)" <gi...@apache.org> on 2026/08/22 11:57:57 UTC
Re: [I] [Bug] Native Image Startup Error with ReferenceBean + @DubboReference Configuration [dubbo]
Drifter-yh commented on issue #16145:
URL: https://github.com/apache/dubbo/issues/16145#issuecomment-5380242114
Hi, I reproduced this on the current `3.3` branch and confirmed the reporter's analysis.
I found two related AOT gaps for `@Bean + @DubboReference + ReferenceBean<T>`:
1. `processReferenceAnnotatedBeanDefinition()` stores `interfaceClass`, `interfaceName`, and reference properties as BeanDefinition attributes, but the generated-artifact path reads them from property values. A focused regression test currently fails because `interfaceClass`, `interfaceName`, and `referencePropsJson` are missing.
2. `ReferenceAnnotationWithAotBeanPostProcessor.processAheadOfTime()` does not produce an AOT contribution for this Java-config `ReferenceBean<T>` path, so the proxy/runtime hints are not registered.
I verified both with focused JVM tests without requiring a native-image build. I have not yet run an end-to-end GraalVM native-image verification.
Thanks to @mattmok for the detailed investigation in this issue. If this scope looks appropriate, I can prepare a PR covering both regressions with focused tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org