Skip to content

Text cannot be parsed to a Duration when assessing TlsConfigurationRegistry.get("javax.net.ssl") #46309

@ppalaga

Description

@ppalaga

JavaNetSslTlsBucketConfig.handshakeTimeout() introduced recently returns Duration.parse("10S") which throws the named exception. It should return some equivalent of 10 seconds, something like Duration.ofSeconds(10L). A fix and test follows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions