Package (String name) { Package p; if (parent == null) p = VMClassLoader.getPackage(name); else p = parent.getPackage(name); if (p == null) { synchronized (definedPackages) { p = (Package) definedPackages.get(name); } } return p; }