On Fri, 10 Jun 2022 19:36:50 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> I'd be inclined to remove the initialisation.
>
> I see, the static analyser is not smart enough to notice that the variables 
> get initialised before they're used.
> 
> To resolve the error, initialise `at` and `oldStk` with `null`.
> 
> `stkWidth` needs to be initialised by 1 as it's currently done, its value is 
> used even if `resetTransform` remains `false`.

Yes, seems the code logic is too much for the compiler
intuitively I'd have expected that it should be, but you'd need to restructure 
to fix it ..

-------------

PR: https://git.openjdk.org/jdk/pull/7449

Reply via email to