--- a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java @@ -21,7 +21,7 @@ package com.mysql.cj.conf; import java.util.Collections; -import java.util.HashMap; +import java.util.TreeMap; import java.util.Map; import com.mysql.cj.Messages; @@ -894,7 +894,7 @@ public class PropertyDefinitions { // }; - HashMap> propertyKeyToPropertyDefinitionMap = new HashMap<>(); + TreeMap> propertyKeyToPropertyDefinitionMap = new TreeMap<>(); for (PropertyDefinition pdef : pdefs) { propertyKeyToPropertyDefinitionMap.put(pdef.getPropertyKey(), pdef); }