Restrict exceptions from ClassFileTree.close()
Otherwise using ClassFileTree in a try-with-resources block is
frustrating.
@@ -53,6 +53,8 @@ public abstract class ClassFileTree implements AutoCloseable {
};
}
+ public abstract void close() throws IOException;
+
public abstract Collection<Package> getRootPackages();
public static abstract class ClassFile {
