Adaptive selection of programming language versions for compilation of software programs
AssigneeOracle International Corporation
InventorsBrian Goetz, Alexander R. Buckley
Life of this patent
Estimating the term…
Abstract
The disclosed embodiments provide a system that facilitates the development and compilation of a software program. During operation, the system obtains a set of compilation units to be used in the software program and a version order associated with a programming language of the compilation units. Next, for each compilation unit from the set of compilation units, the system uses the version order to select a version of the programming language that is compatible with the compilation unit. The system then uses the version to compile the compilation unit.
Claims20
A computer-implemented method for facilitating the development and compilation of a software program, comprising:
- obtaining a set of compilation units to be used in the software program and a version order associated with a programming language of the compilation units;
- and
- for each compilation unit from the set of compilation units:
- using the version order to select a version of the programming language that is compatible with the compilation unit;
- and
- using the selected version to compile the compilation unit.
A system for facilitating the compilation of a software program, comprising:
- a software development kit (SDK) configured to enable the creation of a set of compilation units to be used in the software program using a programming language;
- and
- a compilation manager configured to:
- obtain a version order associated with the programming language;
- and
- for each compilation unit from the set of compilation units:
- use the version order to select a version of the programming language that is compatible with the compilation unit;
- and
- use the selected version to compile the compilation unit.
A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for facilitating the compilation of a software program, comprising:
- obtaining a set of compilation units to be used in the software program and a version order associated with a programming language of the compilation units;
- and
- for each compilation unit from the set of compilation units:
- using the version order to select a version of the programming language that is compatible with the compilation unit;
- and
- using the selected version to compile the compilation unit.
Dependencies are inferred from the claim text.