Mechanism to load first version classes into a runtime environment running a second version of the class
First Claim
1. A method for loading a first version of a class into a second version runtime environment running a second version of the class, the method comprising the computer-implemented steps of:
- receiving a first version of a class, the first version of the class being incompatible with a second version class loader of the second version runtime environment;
loading the first version of the class in the second version runtime environment using a first version class loader compatible with the first version of the class; and
automatically converting information according to the first version class into an intermediate storage format for use with the second version runtime environment.
2 Assignments
0 Petitions
Accused Products
Abstract
In accordance with one embodiment of the present invention, there are provided mechanisms and methods for loading a first version of a class into a second version runtime environment running a second version of the class. The runtime environment may be comprised of a Java Virtual Machine (JVM) in some embodiments. These mechanisms and methods make it possible for applications to retrieve and convert legacy data for use with current versions of the runtime environment. In one embodiment, the conversion of data may be done automatically and/or transparently to a user or calling process.
31 Citations
29 Claims
-
1. A method for loading a first version of a class into a second version runtime environment running a second version of the class, the method comprising the computer-implemented steps of:
-
receiving a first version of a class, the first version of the class being incompatible with a second version class loader of the second version runtime environment;
loading the first version of the class in the second version runtime environment using a first version class loader compatible with the first version of the class; and
automatically converting information according to the first version class into an intermediate storage format for use with the second version runtime environment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable medium carrying one or more sequences of instructions for loading a first version class into a second version runtime environment running a second version of the class, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
receiving a first version of a class, the first version of the class being incompatible with a second version class loader of a currently instantiated second version runtime environment;
loading the first version of the class in the second version runtime environment using a first version class loader compatible with the first version of the class; and
automatically converting information according to the first version class into an intermediate storage format for use with the second version runtime environment. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. An apparatus for loading a first version class into a second version runtime environment running a second version of the class, the apparatus comprising:
-
a processor; and
one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of;
receiving a first version of a class, the first version of the class being incompatible with a second version class loader of a currently instantiated second version runtime environment;
loading the first version of the class in the second version runtime environment using a first version class loader compatible with the first version of the class; and
automatically converting information according to the first version class into an intermediate storage format for use with the second version runtime environment.
-
Specification