On Mon, 11 Apr 2022 05:21:49 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> I guess in that case "else" part in l359 will be executed...I was talking > about requirement of "else" part in l345 I did a sample test for this case, it did entered l345, I added \n manually at the end of string, since it passes `if (array[counter] == '\n') {` (l340) condition and fails `if (array[counter - 1] == '\r')` (l342), it executes the else part in l345..... ------------- PR: https://git.openjdk.java.net/jdk/pull/8122