8286394: Address possibly lossy conversions in jdk.naming.dns

Reviewed-by: rriggs, aefimov
This commit is contained in:
Darragh Clarke 2022-10-07 16:04:50 +00:00 committed by Aleksei Efimov
parent 7a194d31a3
commit 67210abd04
2 changed files with 1 additions and 2 deletions

View File

@ -1 +0,0 @@
DISABLED_WARNINGS_java += lossy-conversions

View File

@ -730,7 +730,7 @@ class Tcp {
return reader.read();
}
finally {
timeoutLeft -= System.currentTimeMillis() - start;
timeoutLeft -= (int) (System.currentTimeMillis() - start);
}
}