RFR: 8369432: Add Support for JDBC 4.5 MR [v5]

Eirik Bjørsnøs eirbjo at openjdk.org
Wed Oct 15 13:44:15 UTC 2025


On Wed, 15 Oct 2025 13:34:07 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> Pattern::matches invokes Pattern::compile and String::matches invokes Pattern::matches so did not see the benefit when we added the methods originally in JDK 9

Yeah, it just seemed `String:matches` would be less verbose. I then noticed Roger raising related suggestions about precomplication, which is why I removed my comment from the PR since it seemed no longer relevant.

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

PR Comment: https://git.openjdk.org/jdk/pull/27693#issuecomment-3406512899


More information about the core-libs-dev mailing list