alibaba / alibaba/testable-mock

SpringBoot3中@{argLine} 和 -javaagent不能同时使用

Open
#331 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.8k
Forks
306
PR merge metrics
No merged PRs in 30d

Description

spring boot3.1.3版本和testable0.7.9版本结合使用时,添加Jacoco插件,但是@{argLine} 和 -javaagent不能同时使用,报错java.lang.ClassCircularityError: java/lang/Long$LongCache

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with Spring Boot 3.1.3, testable 0.7.9, JaCoCo, @{argLine}, and -javaagent, then trace the test-agent configuration that produces ClassCircularityError for java/lang/Long$LongCache. Done means the combined setup runs successfully without the reported error and has a regression check for this configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.