On Thu, 3 Feb 2022 06:59:35 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> The uninitialized "partialArray" in NPrintWriter.println() can cause NPE in > System.arraycopy . > But it is seen that NPrintWriter class embedded in TagStack class file cannot > be used by application as it is not a public class and not an inner class too > and also there's no object of it created in TagStack class to access > NPrintWriter and there's no instances of accessing NPrintWriter in jdk. > So, it seems prudent to remove instead of fixing this ununsed, unaccessible > class . Build and jtreg tests are ok. Marked as reviewed by prr (Reviewer). ------------- PR: https://git.openjdk.java.net/jdk/pull/7332