91 Star 496 Fork 185

GVPopenEuler / bishengjdk-8

 / 详情

throw unexpected ArithmeticException in com.sun.tools.javac.util.Convert.string2int

待办的
缺陷
创建于  
2021-12-20 12:07

我们自动产生的测试用例如下:
输入图片说明

输入图片说明

源码中既没有特别处理var1为0的情况, 也没有主动throw ArithmeticException

评论 (3)

wangmiaomiao 创建了缺陷

Hi miaomiao_wang, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Compiler, and any of the maintainers: @guoge , @Haijian.Zhang , @Noah , @eastb233 , @wangyadong , @jiangfeilong , @HsError , @Peixin Qiao , @Peilin Guo

openeuler-ci-bot 添加了
 
sig/Compiler
标签

你这传的值不就是0吗,兄弟

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 1931236 mysmlz 1578962631
Java
1
https://gitee.com/openeuler/bishengjdk-8.git
git@gitee.com:openeuler/bishengjdk-8.git
openeuler
bishengjdk-8
bishengjdk-8

搜索帮助