Path out3 = bundle.getRoot().resolve("out3");
<BUG>System.out.println(Bundles.setReference(out3, ref));
if (Bundles.isReference(out3)) {</BUG>
URI resolved = Bundles.getReference(out3);
<BUG>System.out.println(resolved);
}</BUG>
Path zip = Files.createTempFile("bundle", ".zip");
Bundles.closeAndSaveBundle(bundle, zip);
<BUG>System.out.println("Saved to " + zip);</BUG>
try (Bundle bundle2 = Bundles.openBundle(zip)) {
assertEquals(zip, bundle2.getSource());
}
}
}

Path out3 = bundle.getRoot().resolve("out3");
Bundles.setReference(out3, ref);
if (Bundles.isReference(out3)) {
URI resolved = Bundles.getReference(out3);
assertNotNull(resolved);
}
Path zip = Files.createTempFile("bundle", ".zip");
Bundles.closeAndSaveBundle(bundle, zip);
try (Bundle bundle2 = Bundles.openBundle(zip)) {
