On Mon, 21 Aug 2023 14:50:12 GMT, Vyom Tewari <vtew...@openjdk.org> wrote:
>> src/java.base/share/classes/java/io/FilterOutputStream.java line 209: >> >>> 207: * @return {@code true} if, and only if, this stream is open >>> 208: */ >>> 209: protected boolean isOpen(){ >> >> Adding a protected method to a public class in an exported packages means >> this is a new API, it will require discussion, I don't know if you meant to >> do this or not. > > I thought of this ,but i was not 100% sure. I will create CSR first. You can convert this method, or the `closed` field, to be package-private (default access) instead. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15361#discussion_r1300236089