Now we skip duplicare jdk methods
@@ -410,7 +410,8 @@ public class KnowledgeBase implements Serializable, Closeable {
final FastenURI uri = e.getValue();
final FastenURI genericUri = FastenURI.createSchemeless(null, null, null, uri.getRawNamespace(), uri.getRawEntity());
final long gid = addURI(genericUri);
- addGidRev(GIDAppearsIn, gid, index);
+ // Fix gazillions of copies of Java classes in jars
+ if (!uri.getRawNamespace().startsWith("java.") && !uri.getRawNamespace().startsWith("jdk.")) addGidRev(GIDAppearsIn, gid, index);
jsonId2Temporary.put(jsonId, internalGIDs.size());
internalGIDs.add(gid);
}
