Open WangJi92 opened 1 day ago
class com.intellij.psi.PsiWildcardType cannot be cast to class com.intellij.psi.PsiClassType (com.intellij.psi.PsiWildcardType and com.intellij.psi.PsiClassType are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @1755ffbd)
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice#supports
boolean supports(MethodParameter methodParameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType);
src/com/github/idea/arthas/plugin/utils/OgnlPsUtils.java:529 这里转换的逻辑有点问题
String qualifiedName = PsiToolkit.getPsiTypeQualifiedNameClazzName((PsiClassType) parameters[0]); return "(@" + qualifiedName + "@class)";
防御性措施: watch、trace 等不应该收到影响,增加防御性
可以参考一下 src/com/github/idea/arthas/plugin/utils/OgnlPsUtils.java:578 这个做一下处理 com.github.idea.json.parser.toolkit.PsiToolkit#getPsiTypeGenericsType
class com.intellij.psi.PsiWildcardType cannot be cast to class com.intellij.psi.PsiClassType (com.intellij.psi.PsiWildcardType and com.intellij.psi.PsiClassType are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @1755ffbd)
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice#supports
src/com/github/idea/arthas/plugin/utils/OgnlPsUtils.java:529 这里转换的逻辑有点问题
防御性措施: watch、trace 等不应该收到影响,增加防御性