8044269: Analysis of archive files

Add checksum verification.

Reviewed-by: iklam, dholmes, mschoene
This commit is contained in:
Jiangli Zhou 2014-10-14 18:47:46 -07:00
parent a71432a188
commit ad65e81ce7
7 changed files with 72 additions and 5 deletions

View file

@ -226,6 +226,7 @@ class ClassLoader: AllStatic {
// to avoid confusing the zip library
static bool get_canonical_path(const char* orig, char* out, int len);
public:
static int crc32(int crc, const char* buf, int len);
static bool update_class_path_entry_list(const char *path,
bool check_for_duplicates,
bool throw_exception=true);