Class loading method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsXinjian WANG, Qinghua ZHANG, Yongyong YANG, Bin ZHANG, Wei LIU
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsXinjian WANG, Qinghua ZHANG, Yongyong YANG, Bin ZHANG, Wei LIU
Estimating the term…
This application discloses a class loading method and apparatus. The method is applied to a computer device, the computer device includes a target binary file, the target binary file includes a correspondence between class names of a plurality of classes and full information of the plurality of classes, and the class names are in a one-to-one correspondence with the full information of the classes. The method includes: determining a class name of a to-be-loaded class required for running an application program in the computer device; obtaining full information corresponding to the class name of the to-be-loaded class based on the class name of the to-be-loaded class and the correspondence between the class names of the plurality of classes and the full information of the plurality of classes; and running the application program based on the full information corresponding to the class name of the to-be-loaded class.
A class loading method, applied to a computer device, and the method comprises:
An apparatus for class loading, wherein the apparatus comprises:
A computer storage medium, wherein the computer storage medium stores computer-executable instructions, and when the computer-executable instructions are invoked by a computer, cause the computer to perform a class loading method, wherein the method comprises:
Dependencies are inferred from the claim text.