jdk/src/share/classes/com/sun/java/util/jar/pack/Constants.java
changeset 5811 f4d1f45c0058
parent 5506 202f599c92aa
child 7192 445c518364c4
equal deleted inserted replaced
5810:e83d67ad8c96 5811:f4d1f45c0058
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    45     public final static short JAVA_MIN_CLASS_MAJOR_VERSION = 45;
    45     public final static short JAVA_MIN_CLASS_MAJOR_VERSION = 45;
    46     public final static short JAVA_MIN_CLASS_MINOR_VERSION = 03;
    46     public final static short JAVA_MIN_CLASS_MINOR_VERSION = 03;
    47 
    47 
    48     public final static short JAVA5_MAX_CLASS_MAJOR_VERSION = 49;
    48     public final static short JAVA5_MAX_CLASS_MAJOR_VERSION = 49;
    49     public final static short JAVA5_MAX_CLASS_MINOR_VERSION = 0;
    49     public final static short JAVA5_MAX_CLASS_MINOR_VERSION = 0;
    50     // NOTE: ASSUMED for now
    50 
    51     public final static short JAVA6_MAX_CLASS_MAJOR_VERSION = 50;
    51     public final static short JAVA6_MAX_CLASS_MAJOR_VERSION = 50;
    52     public final static short JAVA6_MAX_CLASS_MINOR_VERSION = 0;
    52     public final static short JAVA6_MAX_CLASS_MINOR_VERSION = 0;
       
    53 
       
    54     public final static short JAVA7_MAX_CLASS_MAJOR_VERSION = 51;
       
    55     public final static short JAVA7_MAX_CLASS_MINOR_VERSION = 0;
    53 
    56 
    54     public final static int JAVA_PACKAGE_MAGIC = 0xCAFED00D;
    57     public final static int JAVA_PACKAGE_MAGIC = 0xCAFED00D;
    55     public final static int JAVA5_PACKAGE_MAJOR_VERSION = 150;
    58     public final static int JAVA5_PACKAGE_MAJOR_VERSION = 150;
    56     public final static int JAVA5_PACKAGE_MINOR_VERSION = 7;
    59     public final static int JAVA5_PACKAGE_MINOR_VERSION = 7;
    57 
    60