API Tools 3.5M4 New and Noteworthy
| |
|
| @noextend restriction supported on interfaces | API tooling now supports two restrictions on interfaces - Component owners should decide where to add |
| Selective API breakage | You can now be alerted to breaking API changes even if you have incremented the major version of your plug-in. The first time you change a plug-in's API in an incompatible way, problems inform you to increment the major version of your plug-in. Once you increment the major version of your plug-in, API tooling allows additional breaking API changes without warning. Use the new preference Report API breakage even if authorized by major version increment to enable this feature (on the Plug-in Development > API Errors/Warnings preference page, on the top of the API Compatibility tab). When this preference is enabled you must use API problem filters to selectively permit incompatible API changes.
|
| Execution environment validation | API tooling now warns you when you accesses code in a system library that is not part of a plug-in's required execution environment. For example, if your plug-in's target environment is J2SE-1.3, but you are developing against a J2SE-1.5 JRE, it can be easy to unintentionally reference types and methods that only exist in J2SE-1.4 or J2SE-1.5. Such references are now flagged with problems. You can adjust the severity of this problem via the Invalid references in system libraries option on the API Use tab of the Plug-in Development > API Errors/Warnings preference page.
|
| Stale API problem filters | API tooling creates warnings for problem filters that are no longer needed. API problem filters often become stale because they are used to filter known incompatibilities between two specific releases. A quick fix is available to remove stale filters.
|
| API tooling Ant tasks | Ant tasks to perform API analysis and generate simple HTML reports are now available. These are the same Ant tasks used in the Eclipse SDK build. Documentation for each task is available in the Reference section of the Plug-in Development Environment Guide.
|



