File tree 2 files changed +12
-0
lines changed
core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ The following classes have been removed or modified in API breaking ways:
24
24
- spelling corrected for methods with Uninitialized in the name
25
25
- setWarnUnused renamed to setWarnUnusedVars and isWarnUnused renamed to isWarnUnusedVars
26
26
27
+ ## org.eclipse.cdt.core.build.CBuildConfiguration.getBuildDirectory() should not be overridden
28
+
29
+ The ` @nooverride ` flag was added to ` CBuildConfiguration.getBuildDirectory ` .
30
+ Extenders should only be overridding ` getBuildDirectoryURI ` which is part of the ` ICBuildConfiguration2 ` API.
31
+ ` getBuildDirectory ` is a convenience method to convert URI into Path.
27
32
28
33
## API Changes in CDT 11.5.
29
34
Original file line number Diff line number Diff line change @@ -282,6 +282,13 @@ public URI getBuildDirectoryURI() throws CoreException {
282
282
return getBuildContainer ().getLocationURI ();
283
283
}
284
284
285
+ /**
286
+ * Convenience method to convert getBuildDirectoryURI() to a Path
287
+ * <p>
288
+ * @apiNote This method used to be overridable, but it leads to unclear semantics for extenders.
289
+ * Extenders looking to change the build directory should only override {@link #getBuildDirectoryURI()}
290
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
291
+ */
285
292
public Path getBuildDirectory () throws CoreException {
286
293
return Paths .get (getBuildDirectoryURI ());
287
294
}
You can’t perform that action at this time.
0 commit comments