[CONJ-1316] ensure always pinning Locale.ROOT on locale-sensitive string operations (original) (raw)

Several code paths use the JVM default locale when matching configuration options or building protocol/SQL text: String.toLowerCase(), new SimpleDateFormat(...), DateTimeFormatter.ofPattern(...), NumberFormat.getInstance(), and String.format(...) with no explicit Locale.

On a JVM whose default locale isn't English, this might produces wrong results