已开启
RandomGenerator类中的方法javadoc注释不准确 #11
AtomGit-Bot创建于  2024年7月29日
AtomGit-Bot
2024年7月29日 创建

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)

一、缺陷信息
RandomGenerator类中的方法javadoc注释不准备
The default implementation checks that {@code origin} and {@code bound} are positive {@code longs}.
RandomSupport.checkRange:
public static void checkRange(long origin, long bound) {
if (origin >= bound) {
throw new IllegalArgumentException(BAD_RANGE);
}
}
默认实现并没有要求origin和bound为正数。满足origin < bound即可。
nextInt存在同样的描述

内核信息:

缺陷归属组件:

缺陷归属的版本:

缺陷简述:

【环境信息】
硬件信息

  • 裸机场景请提供问题的硬件信息
  • 虚拟机场景请提供虚拟机的XML文件或配置信息
    软件信息
  • OS版本及分支信息
  • 内核信息
  • 发现问题的组件版本信息
    网络信息
  • 如果有特殊组网,请提供网络拓扑信息

【问题复现步骤】,请描述具体的操作步骤
【实际结果】,请描述出问题的结果和影响
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

缺陷详情参考链接:

缺陷分析指导链接:
https:xxx

likedislike
AAtomGit-Bot
2024年7月29日 创建了缺陷
openeuler-ci-botopeneuler-ci-bot成员
2024年7月29日 添加了 &nbsp; sig/Compiler 标签
AAtomGit-Bot
2024年7月29日 修改了描述
AAtomGit-Bot
2024年7月29日 修改了标题