mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8031569
: Refactor javac scope implementation to enable lazy imports
Introducing an internal API for Scope; rewriting ImportScopes to extend CompoundScopes. Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com> Reviewed-by: mcimadamore, jjg, jfranck
This commit is contained in:
parent
c2f98fba15
commit
0067b70725
50 changed files with 1614 additions and 1383 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2014, 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
|
||||
|
@ -98,7 +98,7 @@ public class ImplementationCacheTest {
|
|||
|
||||
MethodSymbol I_m = null;
|
||||
|
||||
for (Symbol sym : i.members().getElements()) {
|
||||
for (Symbol sym : i.members().getSymbols()) {
|
||||
if (sym.name.contentEquals("m")) {
|
||||
I_m = (MethodSymbol)sym;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue