equal
deleted
inserted
replaced
42 class Metaspace; |
42 class Metaspace; |
43 |
43 |
44 class SharedClassPathEntry VALUE_OBJ_CLASS_SPEC { |
44 class SharedClassPathEntry VALUE_OBJ_CLASS_SPEC { |
45 public: |
45 public: |
46 const char *_name; |
46 const char *_name; |
47 time_t _timestamp; // jar timestamp, 0 if is directory |
47 time_t _timestamp; // jar timestamp, 0 if is directory or other |
48 long _filesize; // jar file size, -1 if is directory |
48 long _filesize; // jar file size, -1 if is directory, -2 if other |
|
49 bool is_jar() { |
|
50 return _timestamp != 0; |
|
51 } |
49 bool is_dir() { |
52 bool is_dir() { |
50 return _filesize == -1; |
53 return _filesize == -1; |
51 } |
54 } |
52 }; |
55 }; |
53 |
56 |