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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to