code: protected Package getPackage(String name) {
          Package pkg;
          synchronized (packages) {
              pkg = packages.get(name);
          }
          return pkg;
      }
docs: Returns a <tt>Package</tt> that has been defined by this class loader
  or any of its ancestors.
  
  @param  name
  The package name
  
  @return  The <tt>Package</tt> corresponding to the given name, or
  <tt>null</tt> if not found
  
  @since  1.2