private static GraphBundleEx tryGetOnDemandGraph(Bundle bundle, URL url) throws IOException {
try {
Integer cachedHash = readCachedHash(url);
- if (cachedHash == null)
+ if (cachedHash == null) {
+ LOGGER.info("No cached hash for " + bundle);
return null;
+ }
Supplier<TransferableGraph1> graphSource = () -> {
try {
// For an unknown reason this is totally broken when running the TestSCLOsgi
// in the SDK Tycho build. It returns incomplete results because the
// ReadableByteChannel used by ByteFileReader starts returning 0 unexpectedly.
-// try (TransferableGraphFileReader reader = new TransferableGraphFileReader(is)) {
+// try (TransferableGraphFileReader reader = new TransferableGraphFileReader(is)) {
// return reader.readTG();
// }
return DataContainers.readFile(new DataInputStream(is), handlers);