On Fri, 30 Jul 2021 15:17:41 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
>> I have taken care of NPE..I am not sure of switch which probably might be a >> hindrance in backporting if needed to earlier release trains. >> CI is also run..link in JBS. > >> I am not sure of switch which probably might be a hindrance in backporting >> if needed to earlier release trains. > > You still can use the old switch statement with breaks. It will not be consistent if we use switch only in this place because in most places, we either use the way we have before fix or or what I have done in version 1 or what I have done now. Probably, we need a PR to change other places where we have use pre-fix ways. ------------- PR: https://git.openjdk.java.net/jdk/pull/4943