mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282 Co-authored-by: Alex Buckley <alex.buckley@oracle.com> Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com> Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com> Co-authored-by: Mandy Chung <mandy.chung@oracle.com> Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com> Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com> Co-authored-by: Vicente Romero <vicente.romero@oracle.com> Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com> Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com> Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com> Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com> Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com> Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com> Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
This commit is contained in:
parent
8cffe4fb02
commit
001ebb3a72
879 changed files with 26184 additions and 9697 deletions
|
@ -27,6 +27,7 @@
|
|||
* @summary Basher for star-import scopes
|
||||
* @modules jdk.compiler/com.sun.tools.javac.code
|
||||
* jdk.compiler/com.sun.tools.javac.file
|
||||
* jdk.compiler/com.sun.tools.javac.tree
|
||||
* jdk.compiler/com.sun.tools.javac.util
|
||||
*/
|
||||
|
||||
|
@ -199,7 +200,7 @@ public class StarImportTest {
|
|||
Name name = names.fromString("c" + (++nextClassSerial));
|
||||
int count = rgen.nextInt(MAX_SETUP_CLASS_COUNT);
|
||||
log("setup: creating class " + name + " with " + count + " entries");
|
||||
ClassSymbol c = createClass(name, symtab.unnamedPackage);
|
||||
ClassSymbol c = createClass(name, symtab.unnamedModule.unnamedPackage);
|
||||
// log("setup: created " + c);
|
||||
for (int i = 0; i < count; i++) {
|
||||
ClassSymbol ic = createClass(names.fromString("Entry" + i), c);
|
||||
|
@ -290,7 +291,7 @@ public class StarImportTest {
|
|||
ClassSymbol createClass(Name name, Symbol owner) {
|
||||
ClassSymbol sym = new ClassSymbol(0, name, owner);
|
||||
sym.members_field = WriteableScope.create(sym);
|
||||
if (owner != symtab.unnamedPackage)
|
||||
if (owner != symtab.unnamedModule.unnamedPackage)
|
||||
owner.members().enter(sym);
|
||||
return sym;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue