Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2020-09-01 01:32:32 +0000
committerJonah Graham2020-09-01 01:32:32 +0000
commit1562080a3c0149b3df52b38958460946cbbd1100 (patch)
treeb0d13a5570ee6fdc417a238be00a2292559c1784 /doc/org.eclipse.cdt.doc.isv
parent7818f6e4945e0e3324e6d3f9a7cd444e953d96d8 (diff)
downloadorg.eclipse.cdt-1562080a3c0149b3df52b38958460946cbbd1100.tar.gz
org.eclipse.cdt-1562080a3c0149b3df52b38958460946cbbd1100.tar.xz
org.eclipse.cdt-1562080a3c0149b3df52b38958460946cbbd1100.zip
Bug 553674: Make Binary parsers and related classes Autocloseable
And prepare to make it an error in CDT to not have properly handled an Autocloseable which means a number of fixes to make sure handles are closed. Change-Id: I36cd46017bbce6ece1703d688d7754e523eca68f
Diffstat (limited to 'doc/org.eclipse.cdt.doc.isv')
-rw-r--r--doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html b/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html
index 129b22eeb83..8f9b15c3a70 100644
--- a/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html
+++ b/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html
@@ -46,6 +46,7 @@
<li><a href="#terminal">TM Terminal has major changes to support new color and preference functionality.</a></li>
<li><a href="#casesensitive">Environment Variables are always case sensitive in CDT.</a></li>
<li><a href="#escaping">Environment variables no longer support \${ to avoid expanding.</a></li>
+ <li><a href="#autocloseable">The binary parsers are now implement Autocloseable</a></li>
</ol>
<p>
Planned Removals after June 2022
@@ -303,6 +304,27 @@
<li>org.eclipse.cdt.core.envvar.IEnvironmentVariableManager.isVariableCaseSensitive() removed.</li></li>
</ul>
+
+ <h3>15. <a name="autocloseable">The binary parsers are now implement AutoCloseable</a></h3>
+ <p>
+ The binary parsers part of CDT core now implement the AutoCloseable interface and can be used
+ in try-with-resources blocks. See list below for all the classes that are now AutoCloseable. See <a
+ href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=553674" target="_blank">Bug 553674</a>.
+ </p>
+ <ul>
+ <li>org.eclipse.cdt.utils.coff.Exe</li>
+ <li>org.eclipse.cdt.utils.coff.PE</li>
+ <li>org.eclipse.cdt.utils.coff.PE64</li>
+ <li>org.eclipse.cdt.utils.coff.PEArchive</li>
+ <li>org.eclipse.cdt.utils.elf.Elf</li>
+ <li>org.eclipse.cdt.utils.elf.ElfHelper</li>
+ <li>org.eclipse.cdt.utils.AR</li>
+ <li>org.eclipse.cdt.utils.elf.AR</li>
+ <li>org.eclipse.cdt.utils.som.AR</li>
+ <li>org.eclipse.cdt.utils.xcoff.AR</li>
+ <li>org.eclipse.cdt.utils.macho.AR</li>
+ </ul>
+
<hr>
<h2>Future Deletions</h2>

Back to the top