vio-lin opened a new issue #8942:
URL: https://github.com/apache/dubbo/issues/8942


   - [x] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   - [x] I have checked the 
[FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository 
and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version:  branch  master  2021/09/28
   * Operating System version: win 10
   * Java version: jdk 8
   
   ### Steps to reproduce this issue
   
   1.  use JdkCompilerTest unitTest
   2.  add a method to compile a class with error code 
   3.  find error message in console
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Result
   
   message should contain some error message to fix the compile error
   
   ### Actual Result
   contain string that point to object address
   
   ```
   java.lang.IllegalStateException: Compilation failed. class: 
classTemp.DemoServiceGrpc, diagnostics: javax.tools.DiagnosticCollector@7848321e
        at 
com.ctrip.framework.cdubbo.internal.compiler.JdkCompiler.doCompile(JdkCompiler.java:89)
        at 
org.apache.dubbo.common.compiler.support.AbstractCompiler.compile(AbstractCompiler.java:58)
        at 
com.ctrip.framework.cdubbo.spring.bean.GrpcServiceBeanDefinitionRegistry.compile(GrpcServiceBeanDefinitionRegistry.java:64)
        at 
com.ctrip.framework.cdubbo.spring.bean.GrpcServiceBeanDefinitionRegistry.processGrpcBean(GrpcServiceBeanDefinitionRegistry.java:43)
        at 
com.ctrip.framework.cdubbo.spring.bean.CDubboBeanDefinitionRegistry.postProcessBeanDefinitionRegistry(CDubboBeanDefinitionRegistry.java:58)
        at 
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
        at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524)
        at 
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
   ```
   


-- 
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