src/java.base/share/classes/jdk/internal/module/ModuleInfo.java
changeset 50892 a5557f24b4d4
parent 48355 4944950606ef
child 51311 d93577466d8c
equal deleted inserted replaced
50891:9948ea5ea1af 50892:a5557f24b4d4
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2018, 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
    62  */
    62  */
    63 
    63 
    64 public final class ModuleInfo {
    64 public final class ModuleInfo {
    65 
    65 
    66     private final int JAVA_MIN_SUPPORTED_VERSION = 53;
    66     private final int JAVA_MIN_SUPPORTED_VERSION = 53;
    67     private final int JAVA_MAX_SUPPORTED_VERSION = 55;
    67     private final int JAVA_MAX_SUPPORTED_VERSION = 56;
    68 
    68 
    69     private static final JavaLangModuleAccess JLMA
    69     private static final JavaLangModuleAccess JLMA
    70         = SharedSecrets.getJavaLangModuleAccess();
    70         = SharedSecrets.getJavaLangModuleAccess();
    71 
    71 
    72     // supplies the set of packages when ModulePackages attribute not present
    72     // supplies the set of packages when ModulePackages attribute not present