src/java.base/share/classes/jdk/internal/module/ModuleInfo.java
changeset 55382 30b1b7b4dd86
parent 53023 6879069d9d94
equal deleted inserted replaced
55381:7c9151c7dc40 55382:30b1b7b4dd86
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2019, 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
    61  */
    61  */
    62 
    62 
    63 public final class ModuleInfo {
    63 public final class ModuleInfo {
    64 
    64 
    65     private final int JAVA_MIN_SUPPORTED_VERSION = 53;
    65     private final int JAVA_MIN_SUPPORTED_VERSION = 53;
    66     private final int JAVA_MAX_SUPPORTED_VERSION = 57;
    66     private final int JAVA_MAX_SUPPORTED_VERSION = 58;
    67 
    67 
    68     private static final JavaLangModuleAccess JLMA
    68     private static final JavaLangModuleAccess JLMA
    69         = SharedSecrets.getJavaLangModuleAccess();
    69         = SharedSecrets.getJavaLangModuleAccess();
    70 
    70 
    71     // supplies the set of packages when ModulePackages attribute not present
    71     // supplies the set of packages when ModulePackages attribute not present