< prev index next >

src/java.base/share/classes/com/sun/java/util/jar/pack/Constants.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 47,56 **** --- 47,57 ---- 1.7 to 1.7.X 51,0 1.8 to 1.8.X 52,0 1.9 to 1.9.X 53,0 1.10 to 1.10.X 54,0 1.11 to 1.11.X 55,0 + 1.12 to 1.12.X 56,0 */ public static final Package.Version JAVA_MIN_CLASS_VERSION = Package.Version.of(45, 03);
*** 73,82 **** --- 74,86 ---- Package.Version.of(54, 00); public static final Package.Version JAVA11_MAX_CLASS_VERSION = Package.Version.of(55, 00); + public static final Package.Version JAVA12_MAX_CLASS_VERSION = + Package.Version.of(56, 00); + public static final int JAVA_PACKAGE_MAGIC = 0xCAFED00D; public static final Package.Version JAVA5_PACKAGE_VERSION = Package.Version.of(150, 7);
*** 89,99 **** public static final Package.Version JAVA8_PACKAGE_VERSION = Package.Version.of(171, 0); // upper limit, should point to the latest class version public static final Package.Version JAVA_MAX_CLASS_VERSION = ! JAVA11_MAX_CLASS_VERSION; // upper limit should point to the latest package version, for version info!. public static final Package.Version MAX_PACKAGE_VERSION = JAVA7_PACKAGE_VERSION; --- 93,103 ---- public static final Package.Version JAVA8_PACKAGE_VERSION = Package.Version.of(171, 0); // upper limit, should point to the latest class version public static final Package.Version JAVA_MAX_CLASS_VERSION = ! JAVA12_MAX_CLASS_VERSION; // upper limit should point to the latest package version, for version info!. public static final Package.Version MAX_PACKAGE_VERSION = JAVA7_PACKAGE_VERSION;
< prev index next >