8152329: jvm should treat the "Multi-Release" jar manifest attribute name as case insensitive

Reviewed-by: iklam, jiangli, mseledtsov
This commit is contained in:
Calvin Cheung 2016-04-06 11:40:45 -07:00
parent 27216177ce
commit c282f25964
2 changed files with 17 additions and 2 deletions

View file

@ -101,10 +101,17 @@ typedef struct {
class ClassPathZipEntry: public ClassPathEntry {
enum {
_unknown = 0,
_yes = 1,
_no = 2
};
private:
jzfile* _zip; // The zip archive
const char* _zip_name; // Name of zip archive
bool _is_boot_append; // entry coming from -Xbootclasspath/a
u1 _multi_versioned; // indicates if the jar file has multi-versioned entries.
// It can have value of "_unknown", "_yes", or "_no"
public:
bool is_jrt() { return false; }
bool is_jar_file() const { return true; }