On Wed, 10 May 2023 22:08:20 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> I have update the text about "property is not set" case, but leave the text 
>> about "default value" as implementation-specific, similarly to what we have 
>> in the text about "networkaddress.cache.ttl" property, and this allow to 
>> change this value in some situations.
>
> Right now the negative value is ignored, and is not mentioned in the new 
> spec, But it could be used to cover "always use the stale data on error" 
> case. So we can change this in the future, but probably it will not be a big 
> deal to update the spec if that will happen.

I believe we do need to specify what happens if the value is negative. We 
cannot leave that as "undefined behaviour that may change in the future".

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13285#discussion_r1196583182

Reply via email to