Method and system for checking the consistency of application JAR files
First Claim
1. A computer method providing consistency of JAVA application files, comprising:
- in a processor;
automatically intercepting a class that is loaded into a subject JAVA application, the class having a respective JAVA Archive (JAR) file, said automatic intercepting identifying the respective JAR file and copies of the respective JAR file to check;
computing cyclic redundancy check of the identified respective JAR file resulting in a computed CRC value of the respective JAR file;
comparing the computed CRC value to a CRC value of at least one other copy of the respective JAR file; and
based on results of the comparing, determining consistency of multiple copies of the respective JAR file used by the subject JAVA application and alerting a user when the multiple copies of the respective JAR file are determined to be inconsistent, such that the method dynamically ensures consistency of the subject JAVA application file,wherein the determining consistency includes exact sameness of the multiple copies of the respective JAR file, such that the multiple copies of the respective JAR file correspond to a same version.
0 Assignments
0 Petitions
Accused Products
Abstract
A computer method and system dynamically provide consistency of JAVA application files. A processor executed routine is configured (e.g., instrumented as an agent) to intercept each class that is loaded into a subject JAVA application or JVM. The system computes a cyclic redundancy check (CRC) of the respective JAR file surrounding the loaded class. The system compares the computed CRC value to a CRC value of at least one other copy of the respective JAR file. Based on the comparison, the system determines consistency (e.g., same version) of the multiple copies of the respective JAR file used by the subject Java application. If the multiple copies of the respective JAR file are determined to be inconsistent, the system alerts the user and/or enables the application to abort.
46 Citations
10 Claims
-
1. A computer method providing consistency of JAVA application files, comprising:
-
in a processor; automatically intercepting a class that is loaded into a subject JAVA application, the class having a respective JAVA Archive (JAR) file, said automatic intercepting identifying the respective JAR file and copies of the respective JAR file to check; computing cyclic redundancy check of the identified respective JAR file resulting in a computed CRC value of the respective JAR file; comparing the computed CRC value to a CRC value of at least one other copy of the respective JAR file; and based on results of the comparing, determining consistency of multiple copies of the respective JAR file used by the subject JAVA application and alerting a user when the multiple copies of the respective JAR file are determined to be inconsistent, such that the method dynamically ensures consistency of the subject JAVA application file, wherein the determining consistency includes exact sameness of the multiple copies of the respective JAR file, such that the multiple copies of the respective JAR file correspond to a same version. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification