Re: RFR: 8322417: Console read line with zero out should zero out when throwing exception

2023-12-21 Thread Goetz Lindenmaier
On Wed, 20 Dec 2023 08:07:38 GMT, Alan Bateman wrote: >> …g exception >> >> After leaving the method by throwing an exception the data can not be >> cleaned any more. > > src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java line 122: > >> 120: ioe.addSupp

Re: RFR: 8322417: Console read line with zero out should zero out when throwing exception

2023-12-20 Thread Alan Bateman
On Tue, 19 Dec 2023 12:47:53 GMT, Goetz Lindenmaier wrote: > …g exception > > After leaving the method by throwing an exception the data can not be cleaned > any more. src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java line 122: > 120: ioe.addSuppresse

Re: RFR: 8322417: Console read line with zero out should zero out when throwing exception

2023-12-20 Thread Goetz Lindenmaier
On Tue, 19 Dec 2023 12:47:53 GMT, Goetz Lindenmaier wrote: > …g exception > > After leaving the method by throwing an exception the data can not be cleaned > any more. Thanks for the reviews! SAPs nigthly testing passed for this change. Sorry, I saw the java.uti. comment too late :( ---

Re: RFR: 8322417: Console read line with zero out should zero out when throwing exception

2023-12-19 Thread Naoto Sato
On Tue, 19 Dec 2023 12:47:53 GMT, Goetz Lindenmaier wrote: > …g exception > > After leaving the method by throwing an exception the data can not be cleaned > any more. LGTM. Please remove the redundant package name before push. src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java l

Re: RFR: 8322417: Console read line with zero out should zero out when throwing exception

2023-12-19 Thread Thomas Stuefe
On Tue, 19 Dec 2023 12:47:53 GMT, Goetz Lindenmaier wrote: > …g exception > > After leaving the method by throwing an exception the data can not be cleaned > any more. Seems reasonable. - Marked as reviewed by stuefe (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/17156#

Re: RFR: 8322417: Console read line with zero out should zero out when throwing exception

2023-12-19 Thread Matthias Baesken
On Tue, 19 Dec 2023 12:47:53 GMT, Goetz Lindenmaier wrote: > …g exception > > After leaving the method by throwing an exception the data can not be cleaned > any more. Marked as reviewed by mbaesken (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/17156#pullrequestreview