Java automation, testing, and analysis
First Claim
Patent Images
1. A method of introducing non-native code into a platform-independent environment, comprising:
- loading a customized CLASSLOADER module, wherein the customized CLASSLOADER module identifies a location of the non-native code;
loading the non-native code identified by the customized CLASSLOADER module to introduce the non-native code into the platform-independent environment; and
executing the non-native code to enable a program executing in an operating system to monitor performance in the platform-independent environment without modifying the platform-independent environment.
6 Assignments
0 Petitions
Accused Products
Abstract
A system and method are disclosed for enabling injection of non-native code into a JAVA environment. The method provides a software hook for detecting the loading of a JAVA interpreter, and then creates a connection that communicates with an executing JAVA application. A method is also provided that loads in a customized CLASSLOADER module, wherein the customized CLASSLOADER module identifies a location of non-native code, and then loads in the non-native code identified by the customized CLASSLOADER module.
-
Citations
21 Claims
-
1. A method of introducing non-native code into a platform-independent environment, comprising:
-
loading a customized CLASSLOADER module, wherein the customized CLASSLOADER module identifies a location of the non-native code;
loading the non-native code identified by the customized CLASSLOADER module to introduce the non-native code into the platform-independent environment; and
executing the non-native code to enable a program executing in an operating system to monitor performance in the platform-independent environment without modifying the platform-independent environment. - View Dependent Claims (2, 3, 4, 5, 6, 7)
loading a custom security manager;
prior to loading the customized CLASSLOADER module, disabling the default security manager; and
after loading the customized CLASSLOADER module, setting a pointer that points to a memory location of the default security manager to point to a memory location of the custom security manager.
-
-
3. The method of claim 2, wherein disabling the default security manager comprises:
setting a pointer that points to a memory location of the default security manager to a null value.
-
4. The method of claim 2 further comprising, after setting the pointer, disabling functionality of the default security manager.
-
5. The method of claim 4 further comprising, after disabling functionality, redirecting control back to the default security manager.
-
6. The method of claim 1, wherein monitoring performance in a platform-independent environment comprises one element of a set containing debugging, analyzing a class, and providing an automation tool.
-
7. The method of claim 1 wherein the platform-independent environment comprises one of a set containing Java™
- Runtime Environment from Sun Microsystems, Incorporated and Java™
Virtual Machine from Microsoft Corporation.
- Runtime Environment from Sun Microsystems, Incorporated and Java™
-
8. A method of introducing non-native code into a platform-independent environment, comprising:
-
responsive to determining that the platform-independent environment was created by a program that does not allow encrypted data to be loaded into a platform-independent environment, setting an internal CLASSPATH of that program to point to a customized CLASSLOADER module;
loading the customized CLASSLOADER module, wherein the customized CLASSLOADER module identifies a location of non-native code; and
loading the non-native code identified by the customized CLASSLOADER module. - View Dependent Claims (9, 10, 11, 12)
loading a custom security manager;
prior to loading the customized CLASSLOADER module, disabling the default security manager; and
after loading the customized CLASSLOADER module, setting a pointer that points to a memory location of the default security manager to point to a memory location of the custom security manager.
-
-
10. The method of claim 8 wherein:
the customized CLASSLOADER module is not encrypted.
-
11. The method of claim 8, wherein that program is NETSCAPE NAVIGATOR.
-
12. The method of claim 8 wherein the platform-independent environment comprises one of a set containing Java™
- Runtime Environment from Sun Microsystems, Incorporated and Java™
Virtual Machine from Microsoft Corporation.
- Runtime Environment from Sun Microsystems, Incorporated and Java™
-
13. A computer-readable medium for storing instructions for introducing non-native code into a platform-dependent environment, the instructions causing a processor to:
-
load a customized CLASSLOADER module, wherein the customized CLASSLOADER module identifies a location of the non-native code;
load the nonactive code identified by the customized CLASSLOADER module to introduce the non-native code into the platform-independent environment; and
executing the non-active code to enable a program executing in an operating system to monitor performance in the platform-independent environment without modifying the platform-independent environment. - View Dependent Claims (14, 15, 16)
load a custom security manager;
disable the default security manager prior to causing the processor to load the customized CLASSLOADER module; and
set a pointer that points to a memory location of the default security manager to point to a memory location of the custom security manager after having caused the processor to load the customized CLASSLOADER module.
-
-
15. The computer-readable medium of claim 14, wherein the instructions for causing the processor to disable the default security manager cause the processor to:
set a pointer that points to a memory location of the default security manager to a null value.
-
16. The computer-readable medium of claim 13 wherein the platform-independent environment comprises one of a set containing Java™
- Runtime Environment from Sun Microsystems, Incorporated and Java™
Virtual Machine from Microsoft Corporation.
- Runtime Environment from Sun Microsystems, Incorporated and Java™
-
17. A system for providing access to a platform-independent environment to a monitoring program, comprising;
-
a monitoring program module, resident in the operating system environment, for initiating an interpreter module responsive to determining that a calling program is accessing the platform-independent environment; and
an interpreter module, for loading, responsive to being initiated, a customized CLASSLOADER module, wherein the customized CLASSLOADER module identifies a location of non-native code to a calling program module and requires the calling program module to load the non-native code identified by the customized CLASSLOADER module wherein the monitoring program does not modify the platform-independent environment. - View Dependent Claims (18, 19, 20, 21)
-
Specification