Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/classLoader.hpp @ 20730:8210e5f2e21b
8044269: Analysis of archive files.
Summary: Add checksum verification.
Reviewed-by: iklam, dholmes, mschoene
author | jiangli |
---|---|
date | Tue, 12 Aug 2014 17:46:16 -0400 |
parents | 7e7dd25666da |
children | eaf39a954227 8cb56c8cb30d |
comparison
equal
deleted
inserted
replaced
20729:609faa407cfd | 20730:8210e5f2e21b |
---|---|
213 | 213 |
214 // Canonicalizes path names, so strcmp will work properly. This is mainly | 214 // Canonicalizes path names, so strcmp will work properly. This is mainly |
215 // to avoid confusing the zip library | 215 // to avoid confusing the zip library |
216 static bool get_canonical_path(char* orig, char* out, int len); | 216 static bool get_canonical_path(char* orig, char* out, int len); |
217 public: | 217 public: |
218 static int crc32(int crc, const char* buf, int len); | |
218 // Used by the kernel jvm. | 219 // Used by the kernel jvm. |
219 static void update_class_path_entry_list(char *path, | 220 static void update_class_path_entry_list(char *path, |
220 bool check_for_duplicates); | 221 bool check_for_duplicates); |
221 static void print_bootclasspath(); | 222 static void print_bootclasspath(); |
222 | 223 |