mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-06 22:20:47 +00:00
8251325: Miss 'L' for long value in if statement
Reviewed-by: iklam
This commit is contained in:
parent
546620bb9e
commit
96bb6e76bf
@ -132,7 +132,7 @@ final class DCmdStart extends AbstractDCmd {
|
||||
}
|
||||
|
||||
if (delay != null) {
|
||||
if (delay < 1000L * 1000L * 1000) {
|
||||
if (delay < 1000L * 1000L * 1000L) {
|
||||
// to avoid typo, delay shorter than 1s makes no sense.
|
||||
throw new DCmdException("Could not start recording, delay must be at least 1 second.");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user