Score
0
Watch 403 Star 1.7K Fork 409

萧明 / knife4jJavaApache-2.0

Merged
!12 修复IDEA debug无法显示动态Response的问题

seaskyshi:fix_dynamic_reponse_not_show_when_debug萧明:master

seaskyshi Created on: 2019-11-11 14:51
Reviewer: 117414_yuanwai_1578918290 118100_xiaoym_1578918321

修复Debug时通过Class.forName(classPathName)无法加载动态生成的类

0 comments, 1 participants

Show action logs Hide action logs
萧明 merged Pull Request 2019-12-09 17:48
seaskyshi assigned reviewer 千枫飞叶 2019-11-18 16:43
seaskyshi assigned reviewer 唱诗歌读圣经 2019-11-18 16:43
seaskyshi assigned reviewer 员外 2019-11-18 16:43
seaskyshi assigned reviewer shenkai22 2019-11-18 16:43
seaskyshi assigned reviewer 萧明 2019-11-11 14:51

Sign in to comment

2019-11-11

(1)
knife4j/knife4j-spring/src/main/java/com/github/xiaoymin/knife4j/spring/util/ByteUtils.java
@@ -156,7 +156,8 @@ public class ByteUtils {
public static Class<?> load(String classPathName){
try{
return Class.forName(classPathName);
return ClassPool.getDefault().getClassLoader().loadClass(classPathName);
// return Class.forName(classPathName);
}catch (Exception e){
}
Java
1
https://gitee.com/xiaoym/knife4j.git
git@gitee.com:xiaoym/knife4j.git
xiaoym
knife4j
knife4j

Help Search