Skip to content

Commit

Permalink
8286394: Address possibly lossy conversions in jdk.naming.dns
Browse files Browse the repository at this point in the history
Reviewed-by: rriggs, aefimov
  • Loading branch information
DarraghClarke authored and AlekseiEfimov committed Oct 7, 2022
1 parent 7a194d3 commit 67210ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion make/modules/jdk.naming.dns/Java.gmk

This file was deleted.

Expand Up @@ -730,7 +730,7 @@ private int readWithTimeout(SocketReadOp reader) throws IOException {
return reader.read();
}
finally {
timeoutLeft -= System.currentTimeMillis() - start;
timeoutLeft -= (int) (System.currentTimeMillis() - start);
}
}

Expand Down

1 comment on commit 67210ab

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.