diff options
author | jantje | 2020-06-19 13:35:27 +0000 |
---|---|---|
committer | Jonah Graham | 2020-08-18 22:11:48 +0000 |
commit | 2a62d586213af5307a5188c68be2370d81efdf32 (patch) | |
tree | bf5516cfa01953fdde3cecb9b7e07c597cf0f04f /build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java | |
parent | 09582630d7357e8069098883d589cd9bfb18beed (diff) | |
download | org.eclipse.cdt-2a62d586213af5307a5188c68be2370d81efdf32.tar.gz org.eclipse.cdt-2a62d586213af5307a5188c68be2370d81efdf32.tar.xz org.eclipse.cdt-2a62d586213af5307a5188c68be2370d81efdf32.zip |
Bug 564123 Treat environment and build variable case sensitively
Remove all equalIgnoreCase and equal with uppercasing for environment
variables
Change-Id: Ic15974b5fb62413c7b1826ced544ff6d4a8eba2f
Signed-off-by: jantje <eclipse@baeyens.it>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java index a372a3a74af..507f5c6cce7 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java @@ -777,9 +777,6 @@ public abstract class AbstractBuiltinSpecsDetector extends AbstractLanguageSetti Map<String, String> envMap = new HashMap<>(); for (IEnvironmentVariable var : getEnvironmentVariables()) { String name = var.getName(); - if (!envMngr.isVariableCaseSensitive()) { - name = name.toUpperCase(); - } envMap.put(name, var.getValue()); } return envMap; @@ -920,7 +917,7 @@ public abstract class AbstractBuiltinSpecsDetector extends AbstractLanguageSetti * Return the best extension to use for calculating spec file from a list of extensions. * @param extensions list of possible extensions to choose from * @return one of the extensions deemed the best one to use from the list - * @since 8.9 + * @since 9.0 */ protected Optional<String> selectBestSpecFileExtension(List<String> extensions) { return extensions.stream().filter(s -> s != null && !s.isEmpty()).findFirst().map(ext -> { |