一、缺陷信息
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存在同样的描述
【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
一、缺陷信息
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存在同样的描述
内核信息:
缺陷归属组件:
缺陷归属的版本:
缺陷简述:
【环境信息】
硬件信息
软件信息
网络信息
【问题复现步骤】,请描述具体的操作步骤
【实际结果】,请描述出问题的结果和影响
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等
缺陷详情参考链接:
缺陷分析指导链接:
https:xxx