com>
From: Aleksei Efimov
Sent: Wednesday, September 4, 2024 17:29
To: Daniel FUCHS ; Marko Bakšić
; core-libs-dev
Subject: [EXTERNAL] Re: Possible bug in jdk.naming.dns. I need guidance on how
get someone smarter to look at it.
Thank you, Marko - it's an excellent catch! Indeed, we
eksei
From: core-libs-dev on behalf of Daniel Fuchs
Sent: 04 September 2024 3:59 PM
To: Marko Bakšić ; core-libs-dev
Subject: Re: Possible bug in jdk.naming.dns. I need guidance on how get someone
smarter to look at it.
On 04/09/2024 15:02, Marko Bakšić wrote:
> T
On 04/09/2024 15:02, Marko Bakšić wrote:
Thank you Daniel.
The part that was suspicious to me is
```
int timeoutLeft = pktTimeout;
do {
...
timeoutLeft = pktTimeout - ((int) (end - start));
} while (timeoutLeft > MIN_TIMEOUT);
```
Here, timeoutLeft is not iteratively decreased, but
Hello Marko,
core-libs-dev@openjdk.org is better suited for this kind of question.
You can submit a bug using bugreport.java.com with all the details you have.
Regards,
Alexey
On 2024-09-04 13:50, Marko Bakšić wrote:
Hey there!
Sorry for coming here with a technical question, but I would
a
E marko.bak...@infobip.com
M
A Utinjska 29A, 1 Zagreb, Croatia
www.infobip.com<http://www.infobip.com>
From: Daniel Fuchs
Sent: Wednesday, September 4, 2024 15:27
To: Marko Bakšić
Subject: [EXTERNAL] Re: Possible bug in jdk.naming.dns. I need g
Hi Marko,
This is not the proper list for this kind of question:
I'm moving the discussion to core-libs-dev at openjdk.org.
There's definitely a bug here: that code should use
System.nanoTime() and not System.currentTimeMillis()
since the latter is not guaranteed to be monotonic.
It may not exp