Invention Grant
- Patent Title: Method, system and computer program for bytecode weaving
-
Application No.: US12953864Application Date: 2010-11-24
-
Publication No.: US09652205B2Publication Date: 2017-05-16
- Inventor: Graham C. Charters , Mark P. Nuttall , Timothy J. Ward
- Applicant: Graham C. Charters , Mark P. Nuttall , Timothy J. Ward
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: CRGO Law
- Agent Steven M. Greenberg, Esq.
- Priority: EP09177088 20091125
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/44 ; G06F9/445

Abstract:
A method, computer apparatus and computer program product for bytecode weaving is described herein. The method includes determining when a code module such as an OSGi bundle that requires bytecode weaving becomes available for loading into a system. Code associated with the code module is loaded. This code may be part of the module itself or part of a separate entity, such as an OSGI bundle fragment, but does not require weaving. Responsive to loading the code associated with the code module, a reference is received to the entity responsible for loading the code associated with the code module. A code entity (which does require weaving) within the code module is identified and a woven set of bytes are provided to the code loading entity identified via the returned reference. Consequently, the woven set of bytes represents a transformed version of the identified code entity.
Public/Granted literature
- US20110126177A1 METHOD, SYSTEM AND COMPUTER PROGRAM FOR BYTECODE WEAVING Public/Granted day:2011-05-26
Information query