Comments (5)
testable-processor这个模块因为使用了编译期增强方法,对JDK 11和以上版本编译器有兼容问题,计划在下个大版本里移除。如果在JDK 17编译且不使用@ EnablePrivateAccessProcessor
注解,可以先直接手工删掉这个模块再编译。
from testable-mock.
我使用的是0.7.8版本
from testable-mock.
请问是直接这样移除么?
exclusions
exclusion
artifactId testable-processor artifactId
groupId com.alibaba.testable groupId
exclusion
exclusions
移除了对testable的正常功能有影响么?
from testable-mock.
testable-processor这个模块因为使用了编译期增强方法,对JDK 11和以上版本编译器有兼容问题,计划在下个大版本里移除。如果在JDK 17编译且不使用
@ EnablePrivateAccessProcessor
注解,可以先直接手工删掉这个模块再编译。
请问一下,0.7.9版本修复此问题没有呢?
from testable-mock.
testable-processor这个模块因为使用了编译期增强方法,对JDK 11和以上版本编译器有兼容问题,计划在下个大版本里移除。如果在JDK 17编译且不使用
@ EnablePrivateAccessProcessor
注解,可以先直接手工删掉这个模块再编译。请问一下,0.7.9版本修复此问题没有呢?
修复了,我用着没问题了
from testable-mock.
Related Issues (20)
- OmniConstructor工具类,开启了字节码增强,但mock对象时还是会随机偶发报错 HOT 3
- when use MockWith annotation, mockClass not right HOT 2
- 包路径映射后,mock未生效
- 建议:建议增加两个快速开始文档 HOT 1
- OmniConstructor.newInstance(RyNormalTask.class) 报错 Failed to invoke constructor HOT 1
- 如何避免mock代码异常提交 HOT 3
- @MockContainer 注解对于继承类的void方法不能正常生效
- 被测试类的方法没有被mock HOT 1
- 使用@RequiredArgsConstructor出现Failed to load ApplicationContext
- 与Jacoco一起使用时,不支持Java17
- 使用OmniConstructor.newInstance()报错 HOT 1
- 从0.7.7升级到0.7.9,启用OmniConstructor的字节码增强模式效率变得非常慢
- 按文档在test里设置jvmArgs报空指针
- 测试service 中调用dao 中继承自mybatis中basemapper通用方法,mock dao层 不生效
- dao层mock 新增 修改 返回int类型接口,启动test报错,类型不匹配,改成Integer,mock不生效
- SpringBoot3中@{argLine} 和 -javaagent不能同时使用
- springboot框架下拦截器中的方法怎么修改
- 一个被测试类可以有个多个Mock类吗?
- javademo为什么使用jacoco覆盖率依然为0?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testable-mock.