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

Method getPackage

classpath/avian/SystemClassLoader.java:77–88  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

75 }
76
77 protected Package getPackage(String name) {
78 Package p = super.getPackage(name);
79 if (p == null) {
80 String source = getPackageSource(name);
81 if (source != null) {
82 // todo: load attributes from JAR manifest
83 definePackage(name, null, null, null, null, null, null, null);
84 }
85 }
86
87 return super.getPackage(name);
88 }
89
90 protected static native String getPackageSource(String name);
91

Callers

nothing calls this directly

Calls 2

getPackageSourceMethod · 0.95
definePackageMethod · 0.80

Tested by

no test coverage detected