MCPcopy Create free account
hub / github.com/ReadyTalk/avian / definePackage

Method definePackage

classpath/java/lang/ClassLoader.java:59–77  ·  view source on GitHub ↗
(String name,
                                  String specificationTitle,
                                  String specificationVersion,
                                  String specificationVendor,
                                  String implementationTitle,
                                  String implementationVersion,
                                  String implementationVendor,
                                  URL sealBase)

Source from the content-addressed store, hash-verified

57 }
58
59 protected Package definePackage(String name,
60 String specificationTitle,
61 String specificationVersion,
62 String specificationVendor,
63 String implementationTitle,
64 String implementationVersion,
65 String implementationVendor,
66 URL sealBase)
67 {
68 Package p = new Package
69 (name, implementationTitle, implementationVersion,
70 implementationVendor, specificationTitle, specificationVersion,
71 specificationVendor, sealBase, this);
72
73 synchronized (this) {
74 packages().put(name, p);
75 return p;
76 }
77 }
78
79 public static ClassLoader getSystemClassLoader() {
80 return ClassLoader.class.getClassLoader();

Callers 1

getPackageMethod · 0.80

Calls 2

packagesMethod · 0.95
putMethod · 0.65

Tested by

no test coverage detected