src/share/classes/java/lang/Package.java

Print this page




 591     private static Map<String, URL> urls = new HashMap<>(10);
 592 
 593     // Maps each code source url for a jar file to its manifest
 594     private static Map<String, Manifest> mans = new HashMap<>(10);
 595 
 596     private static native String getSystemPackage0(String name);
 597     private static native String[] getSystemPackages0();
 598 
 599     /*
 600      * Private storage for the package name and attributes.
 601      */
 602     private final String pkgName;
 603     private final String specTitle;
 604     private final String specVersion;
 605     private final String specVendor;
 606     private final String implTitle;
 607     private final String implVersion;
 608     private final String implVendor;
 609     private final URL sealBase;
 610     private transient final ClassLoader loader;
 611     private transient Class packageInfo;
 612 }


 591     private static Map<String, URL> urls = new HashMap<>(10);
 592 
 593     // Maps each code source url for a jar file to its manifest
 594     private static Map<String, Manifest> mans = new HashMap<>(10);
 595 
 596     private static native String getSystemPackage0(String name);
 597     private static native String[] getSystemPackages0();
 598 
 599     /*
 600      * Private storage for the package name and attributes.
 601      */
 602     private final String pkgName;
 603     private final String specTitle;
 604     private final String specVersion;
 605     private final String specVendor;
 606     private final String implTitle;
 607     private final String implVersion;
 608     private final String implVendor;
 609     private final URL sealBase;
 610     private transient final ClassLoader loader;
 611     private transient Class<?> packageInfo;
 612 }