https://bz.apache.org/bugzilla/show_bug.cgi?id=66044

--- Comment #5 from Vladimir Sitnikov <sitnikov.vladi...@gmail.com> ---
Felix, I just noticed that all the splash.setProgress(40); calls do not really
work inside startGuiPartTwo since they are executed in a single Runnable.

If we really want to update progress incrementally, then we need split the
method into a sequence of smaller Runnable steps :-/
The worse is that those runnables need to reuse certain variables, so splitting
the code manually seems to be non-trivial, error-prone, and hard to maintain
:-/

I do not think "losing progress bar" is blocking for 5.5, however, I guess that
is one of the cases where coroutines might help us to keep the same linear code
while the compiler would split the code in chunks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to