8171898: [WebView] ScrollBarWidget thickness calculation is not correct #197
ScrollbarThemeJava delegates scrollbar thickness calculation to ScrollBarWidget::initializeThickness() [ScrollBarWidget.java] method. Since "ScrollbarThemeJava::scrollbarThickness" is not associated with any "ScrollBarWidget" instance, some workaround was made using special "ScrollBarWidget" instance named testRef.
While this might be the right fix, I don't think the evaluation is right. In particular, this doesn't look related to JDK-8157900. That refactoring fix was behavior neutral in terms of the object graph -- it uses an accessor pattern rather than the removed public
So, what I'd like to see in the evaluation is a description of the root cause, and a brief explanation of the fix.
Can you also provide a test case that fails without the fix and passes with the fix? I don't see one in JBS that you can leverage, so you may need to create one.