mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-17 05:55:22 +02:00
Bug 564123: Remove deprecated method from EnvironmentReader
EnvironmentReader.getRawEnvVars has a better replacement, EnvironmentReader.getEnvVars Change-Id: I91b209f3f601b748dd5d635ff44a36765d519e49 Signed-off-by: jantje <eclipse@baeyens.it>
This commit is contained in:
parent
12cf801870
commit
d99d06ceca
17 changed files with 38 additions and 37 deletions
|
@ -3,7 +3,7 @@ Bundle-SymbolicName: org.eclipse.cdt.core.linux.ppc64le;singleton:=true
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Localization: plugin
|
||||
Bundle-Name: %fragmentName.linux.ppc64le
|
||||
Bundle-Version: 1.0.100.qualifier
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[5.7.0,6.0.0)"
|
||||
Bundle-Version: 6.0.0.qualifier
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)"
|
||||
Bundle-Vendor: %providerName
|
||||
Eclipse-PlatformFilter: (&(osgi.os=linux)(osgi.arch=ppc64le))
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<version>1.0.100-SNAPSHOT</version>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
<artifactId>org.eclipse.cdt.core.linux.ppc64le</artifactId>
|
||||
<packaging>eclipse-plugin</packaging>
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %fragmentName.linux.x86_64
|
||||
Bundle-SymbolicName: org.eclipse.cdt.core.linux.x86_64;singleton:=true
|
||||
Bundle-Version: 5.3.100.qualifier
|
||||
Bundle-Version: 6.0.0.qualifier
|
||||
Bundle-Vendor: %providerName
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[5.7.0,6.0.0)"
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)"
|
||||
Bundle-Localization: plugin
|
||||
Eclipse-PlatformFilter: (&(osgi.os=linux)(osgi.arch=x86_64))
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<version>5.3.100-SNAPSHOT</version>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
<artifactId>org.eclipse.cdt.core.linux.x86_64</artifactId>
|
||||
<packaging>eclipse-plugin</packaging>
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %fragmentName.linux
|
||||
Bundle-SymbolicName: org.eclipse.cdt.core.linux; singleton:=true
|
||||
Bundle-Version: 5.3.100.qualifier
|
||||
Bundle-Version: 6.0.0.qualifier
|
||||
Bundle-Vendor: %providerName
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[5.7.0,6.0.0)"
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)"
|
||||
Bundle-Localization: plugin
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||
Eclipse-PlatformFilter: (osgi.os=linux)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<version>5.3.100-SNAPSHOT</version>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
<artifactId>org.eclipse.cdt.core.linux</artifactId>
|
||||
<packaging>eclipse-plugin</packaging>
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %fragmentName.macosx
|
||||
Bundle-SymbolicName: org.eclipse.cdt.core.macosx; singleton:=true
|
||||
Bundle-Version: 5.3.1.qualifier
|
||||
Bundle-Version: 6.0.0.qualifier
|
||||
Bundle-Vendor: %providerName
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[5.7.0,6.0.0)"
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)"
|
||||
Bundle-Localization: plugin
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||
Eclipse-PlatformFilter: (osgi.os=macosx)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<version>5.3.1-SNAPSHOT</version>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
<artifactId>org.eclipse.cdt.core.macosx</artifactId>
|
||||
<packaging>eclipse-plugin</packaging>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.core.native;singleton:=true
|
||||
Bundle-Version: 5.10.400.qualifier
|
||||
Bundle-Version: 6.0.0.qualifier
|
||||
Bundle-Activator: org.eclipse.cdt.internal.core.natives.CNativePlugin
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
|
|
|
@ -69,13 +69,4 @@ public class EnvironmentReader {
|
|||
init();
|
||||
return envVarsNormalized.getProperty(key);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since CDT 6.1. {@link #getEnvVars()} provides all the data.
|
||||
*/
|
||||
@Deprecated
|
||||
public static String[] getRawEnvVars() {
|
||||
init();
|
||||
return rawVars.toArray(new String[rawVars.size()]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %fragmentName.win32.x86_64
|
||||
Bundle-SymbolicName: org.eclipse.cdt.core.win32.x86_64;singleton:=true
|
||||
Bundle-Version: 5.4.100.qualifier
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[5.7.0,6.0.0)"
|
||||
Bundle-Version: 6.0.0.qualifier
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)"
|
||||
Eclipse-PlatformFilter: (&(osgi.os=win32)(osgi.arch=x86_64))
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<version>5.4.100-SNAPSHOT</version>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
<artifactId>org.eclipse.cdt.core.win32.x86_64</artifactId>
|
||||
<packaging>eclipse-plugin</packaging>
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %fragmentName.win32
|
||||
Bundle-SymbolicName: org.eclipse.cdt.core.win32; singleton:=true
|
||||
Bundle-Version: 5.4.2.qualifier
|
||||
Bundle-Version: 6.0.0.qualifier
|
||||
Bundle-Vendor: %providerName
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[5.7.0,6.0.0)"
|
||||
Fragment-Host: org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)"
|
||||
Bundle-Localization: plugin
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||
Eclipse-PlatformFilter: (osgi.os=win32)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<version>5.4.2-SNAPSHOT</version>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
<artifactId>org.eclipse.cdt.core.win32</artifactId>
|
||||
<packaging>eclipse-plugin</packaging>
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ Export-Package: org.eclipse.cdt.core,
|
|||
org.eclipse.cdt.utils.som.parser,
|
||||
org.eclipse.cdt.utils.xcoff,
|
||||
org.eclipse.cdt.utils.xcoff.parser
|
||||
Require-Bundle: org.eclipse.cdt.core.native;bundle-version="[5.10.100,6.0.0)";visibility:=reexport,
|
||||
Require-Bundle: org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)";visibility:=reexport,
|
||||
org.eclipse.core.contenttype;bundle-version="[3.7.400,4.0.0)",
|
||||
org.eclipse.core.expressions;bundle-version="[3.6.500,4.0.0)",
|
||||
org.eclipse.core.filebuffers;bundle-version="[3.6.700,4.0.0)",
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
</p>
|
||||
<ol>
|
||||
<li><a href="#java11">Eclipse CDT requires Java 11 as a minimum to build and run.</a></li>
|
||||
<li><a href="#deprecatedRemovals">Some deprecated methods and classes have been removed.</a></li>
|
||||
<li><a href="#internals">Previously exported packages that were not API are now correctly marked as such.</a></li>
|
||||
<li><a href="#activators">Activators removed for all bundles where possible.</a></li>
|
||||
<li><a href="#NewClassCreationWizardPage">NewClassCreationWizardPage breaking changes.</a></li>
|
||||
|
@ -55,7 +56,16 @@
|
|||
<p>
|
||||
See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=562494" target="_blank">Bug 562494</a>.
|
||||
</p>
|
||||
<h3>2. <a name="internals">Previously exported packages that were not API are now correctly marked as such.</a></h3>
|
||||
|
||||
<h3>2. <a name="deprecatedRemovals">Some deprecated methods and classes have been removed.</a></h3>
|
||||
<p>
|
||||
Across the CDT code base some previously deprecated code has been removed.
|
||||
<ul>
|
||||
<li>EnvironmentReader.getRawEnvVars has been removed. Use EnvironmentReader.getEnvVars instead. See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=564123" target="_blank">Bug 564123</a>.</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<h3>3. <a name="internals">Previously exported packages that were not API are now correctly marked as such.</a></h3>
|
||||
<p>
|
||||
A review of the previously exported API of CDT was performed. A lot of what was previously marked as public API has
|
||||
now been marked as internal. This means the API has either had <code>x-internal</code> or <code>x-friends</code>
|
||||
|
@ -91,7 +101,7 @@
|
|||
</ul>
|
||||
</p>
|
||||
|
||||
<h3>3. <a name="activators">Activators removed for all bundles where possible.</a></h3>
|
||||
<h3>4. <a name="activators">Activators removed for all bundles where possible.</a></h3>
|
||||
<p>
|
||||
Where possible bundles have had their Activators removed. Some of these activators were API and are no longer
|
||||
available. See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=561635" target="_blank">Bug 561635</a> for
|
||||
|
@ -104,7 +114,7 @@
|
|||
</ul>
|
||||
</p>
|
||||
|
||||
<h3>4. <a name="NewClassCreationWizardPage">NewClassCreationWizardPage breaking changes.</a></h3>
|
||||
<h3>5. <a name="NewClassCreationWizardPage">NewClassCreationWizardPage breaking changes.</a></h3>
|
||||
<p>
|
||||
The NewClassCreationWizardPage has some API breaking changes due to how some protected fields, especially
|
||||
<code>ALL_FIELDS</code> was used. While this breaks binary
|
||||
|
@ -113,7 +123,7 @@
|
|||
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=561770" target="_blank">Bug 561770</a>.
|
||||
</p>
|
||||
|
||||
<h3>5. <a name="arduino">Arduino plug-ins and features removed.</a></h3>
|
||||
<h3>6. <a name="arduino">Arduino plug-ins and features removed.</a></h3>
|
||||
<p>
|
||||
The CDT Arduino plug-ins and features have been removed. Arduino can still be used with CDT with manual maintenance
|
||||
of packages, etc. Or a third-party add-on such as <a href="https://eclipse.baeyens.it/">Sloeber</a> can be used as a
|
||||
|
@ -132,7 +142,7 @@
|
|||
See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=562498" target="_blank">Bug 562498</a>.
|
||||
</p>
|
||||
|
||||
<h3>6. <a name="oldparsers">Remove LRParser, XLC and UPC.</a></h3>
|
||||
<h3>7. <a name="oldparsers">Remove LRParser, XLC and UPC.</a></h3>
|
||||
<p>
|
||||
The LR, UPC and XLC support have been removed from CDT. The bundles have not been maintained for a while and were
|
||||
not functional anymore.
|
||||
|
@ -169,7 +179,7 @@
|
|||
See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=562498" target="_blank">Bug 562498</a>.
|
||||
</p>
|
||||
|
||||
<h3>7. <a name="cdtutilsPlatform">Remove org.eclipse.cdt.utils.Platform.</a></h3>
|
||||
<h3>8. <a name="cdtutilsPlatform">Remove org.eclipse.cdt.utils.Platform.</a></h3>
|
||||
<p>
|
||||
Class org.eclipse.cdt.utils.Platform has been removed. Use org.eclipse.core.runtime.Platform instead.
|
||||
</p>
|
||||
|
|
|
@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
|
|||
Bundle-Name: %pluginName
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.dsf.gdb;singleton:=true
|
||||
Bundle-Version: 5.8.100.qualifier
|
||||
Bundle-Version: 5.8.200.qualifier
|
||||
Bundle-Activator: org.eclipse.cdt.dsf.gdb.internal.GdbPlugin
|
||||
Bundle-Localization: plugin
|
||||
Require-Bundle: org.eclipse.core.runtime,
|
||||
|
@ -16,7 +16,7 @@ Require-Bundle: org.eclipse.core.runtime,
|
|||
org.eclipse.cdt.gdb;bundle-version="7.0.0",
|
||||
org.eclipse.core.resources,
|
||||
org.eclipse.launchbar.core;bundle-version="2.0.0";visibility:=reexport,
|
||||
org.eclipse.cdt.core.native;bundle-version="[5.10.0,6.0.0)",
|
||||
org.eclipse.cdt.core.native;bundle-version="[6.0.0,7.0.0)",
|
||||
org.eclipse.cdt.native.serial;bundle-version="1.1.100"
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||
|
|
Loading…
Add table
Reference in a new issue