Skip to content

这是修改后的MyClassLoader.java#2

Merged
shengsheng-bot merged 1 commit intoimplement-study:mainfrom
TapirHeron:update
Jun 2, 2025
Merged

这是修改后的MyClassLoader.java#2
shengsheng-bot merged 1 commit intoimplement-study:mainfrom
TapirHeron:update

Conversation

@TapirHeron
Copy link
Contributor

不过有一个问题,
传的fqcn为tech.insight.ShengSheng
但目录中只有"加密.class",所以我把路径写死了( String rootFile = System.getProperty("user.dir").concat(".加密".replace('.', File.separatorChar)).concat(".class");)

不过有一个问题,
传的fqcn为tech.insight.ShengSheng
但目录中只有"加密.class",所以我把路径写死了( String rootFile = System.getProperty("user.dir").concat(".加密".replace('.', File.separatorChar)).concat(".class");)
@shengsheng-bot
Copy link
Contributor

感谢你的提交! 接下来的流程将由我自动为你处理

@shengsheng-bot shengsheng-bot added the ci-approve 允许ci label Jun 2, 2025
@shengsheng-bot
Copy link
Contributor

初步审核已通过,请等待CI流程

@shengsheng-bot
Copy link
Contributor

@TapirHeron ,恭喜你的代码通过了CI流程,完成了本次自测

@shengsheng-bot shengsheng-bot merged commit 6342a19 into implement-study:main Jun 2, 2025
3 of 4 checks passed
shengsheng-bot added a commit that referenced this pull request Jun 2, 2025
@gongxuanzhang
Copy link
Contributor

@TapirHeron 写死是没问题的,因为这个需求本身其实就是一个硬编码,但是你最好在代码中使用"equals"而不是contains
最后感谢你的支持和认真思考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approve 允许ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants