< prev index next >

src/java.base/share/classes/java/lang/module/package-info.java

Print this page
rev 50632 : [mq]: defaultroots

*** 1,7 **** /* ! * Copyright (c) 2013, 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) 2013, 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
*** 152,163 **** * <p> The set of root modules at compile-time is usually the set of modules * being compiled. At run-time, the set of root modules is usually the * application module specified to the 'java' launcher. When compiling code in * the unnamed module, or at run-time when the main application class is loaded * from the class path, then the default set of root modules is implementation ! * specific (In the JDK implementation it is the module "java.se", if observable, ! * and every observable module that exports an API). </p> * * <h2> Observable modules </h2> * * <p> The set of observable modules at both compile-time and run-time is * determined by searching several different paths, and also by searching --- 152,164 ---- * <p> The set of root modules at compile-time is usually the set of modules * being compiled. At run-time, the set of root modules is usually the * application module specified to the 'java' launcher. When compiling code in * the unnamed module, or at run-time when the main application class is loaded * from the class path, then the default set of root modules is implementation ! * specific. In the JDK the default set of root modules contains every module ! * that is observable on the upgrade module path or among the system modules, ! * and that exports at least one package without qualification. </p> * * <h2> Observable modules </h2> * * <p> The set of observable modules at both compile-time and run-time is * determined by searching several different paths, and also by searching
< prev index next >