API backward compatibility checking
Abstract
A system and method for automatically determining whether a newer version of an application programming interface (API) is backwards compatible with an older version is disclosed. The method includes comparing the two versions of the API to determine a set of atomic differences between the two versions and applying a set of backwards compatibility rules to the set of atomic differences. For each atomic difference, applying the rules includes analyzing the atomic difference to determine any applicable backwards compatibility rules and evaluating each applicable rule for the atomic difference to determine whether the atomic difference represents a violation. The method also includes storing an indication of any backwards compatibility violations from the evaluation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer-readable storage medium storing program instructions executable by one or more processors to implement: comparing a representation of a first version of an API with a representation of a second version of the API to determine a set of atomic differences between the two versions, wherein said comparing produces a set of atomic differences representing one or more modifications made between the first and second versions of the API; applying a set of a backwards compatibility rules to the set of atomic differences, wherein each of the backwards compatibility rules corres
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- "Japitools: Java API compatibility testing tools," Copyright 2000-2006, found at http://sab39.netreach.com/Software/Japitools/42/.
- "Java API Signature verification," Jour, Last Published: Dec. 12, 2008, found at http://jour.sourceforge.net/signature. html.
- "OS Java," Last published: Feb. 20, 2006/Doc for v0.Osjava, found at http://www.osjava.org/jardiff/.
- Sun Microsystems, Inc., "SigTest Tool 2.0 User's Guide: For Java(TM)Compatibility Test Suite Developers," Apr. 2008.
- Sun Microsystems, Inc., "SigTest Tool 2.0 User's Guide: For Java™Compatibility Test Suite Developers," Apr. 2008.