Searched refs:packages (Results 1 – 2 of 2) sorted by relevance
25 private static final List<Package> packages = Arrays.asList(Package.getPackages()); field in PackageTest41 assertTrue(packages.contains(getClass().getPackage())); in testGetPackages()
92 private Map<String, Package> packages = new HashMap<String, Package>(); field in ClassLoader595 synchronized (packages) { in getPackage()596 return packages.get(name); in getPackage()606 synchronized (packages) { in getPackages()607 Collection<Package> col = packages.values(); in getPackages()644 synchronized (packages) { in definePackage()645 if (packages.containsKey(name)) { in definePackage()652 packages.put(name, newPackage); in definePackage()