Method and system for translating exception handling semantics of a bytecode class file
First Claim
1. A method for translating exception handling semantics within a bytecode class file from a bytecode stream in a computer system, said method comprising the steps of:
- establishing a bytecode information array;
examining each bytecode within said bytecode stream to insert pertinent information into said bytecode information array;
obtaining an exception framelist from said bytecode class file, wherein said exception framelist includes an exception handling routine;
marking said insert pertinent information in said bytecode information array that correspond to a starting location and an ending location of said exception framelist; and
generating a high-level code sequence utilizing said bytecode information array of said marking step.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for translating exception handling semantics of a bytecode class file within a computer system is disclosed. An empty bytecode information array is first established. Pertinent information is then obtained by examining bytecodes within a bytecode stream, and such information are inserted into the bytecode information array. An exception framelist, which includes an exception handling routine, is subsequently obtained from a class file for the bytecode stream. The entries within the bytecode information array corresponding to a starting location and an ending location of the exception framelist are marked. Finally, a high-level code sequence is generated utilizing the bytecode information array.
54 Citations
12 Claims
-
1. A method for translating exception handling semantics within a bytecode class file from a bytecode stream in a computer system, said method comprising the steps of:
-
establishing a bytecode information array; examining each bytecode within said bytecode stream to insert pertinent information into said bytecode information array; obtaining an exception framelist from said bytecode class file, wherein said exception framelist includes an exception handling routine; marking said insert pertinent information in said bytecode information array that correspond to a starting location and an ending location of said exception framelist; and generating a high-level code sequence utilizing said bytecode information array of said marking step. - View Dependent Claims (2, 3, 4)
-
-
5. A computer system capable of translating exception handling semantics within a bytecode class file from a bytecode stream, comprising:
-
a bytecode information array; means for examining each bytecode within said bytecode stream to insert pertinent information into said bytecode information array; means for obtaining an exception framelist from said bytecode class file, wherein said exception framelist includes an exception handling routine; means for marking said insert pertinent information in said bytecode information array that correspond to a starting location and an ending location of said exception framelist; and means for generating a high-level code sequence utilizing said bytecode information array of said marking means. - View Dependent Claims (6, 7, 8)
-
-
9. A computer program product residing on a computer usable medium for translating exception handling semantics within a bytecode class file from a bytecode stream within a computer system, said computer program product comprising:
-
program code means for establishing a bytecode information array; program code means for examining each bytecode within said bytecode stream to insert pertinent information into said bytecode information array; program code means for obtaining an exception framelist from said bytecode class file, wherein said exception framelist includes an exception handling routine; program code means for marking said insert pertinent information in said bytecode information array that correspond to a starting location and an ending location of said exception framelist; and program code means for generating a high-level code sequence utilizing said bytecode information array of said marking program code means. - View Dependent Claims (10, 11, 12)
-
Specification