On Fri, 8 Jul 2022 21:37:47 GMT, Andy Goryachev <d...@openjdk.org> wrote:
> The fix includes: > - renaming of offending methods to avoid confusion > - explicitly declaring the offending methods as private Kevin, what I meant actually, is that Eclipse would generate a warning when compiler creates a synthetic accessor: Access to enclosing method beginChange() from the type ObservableListBase<E> is emulated by a synthetic accessor method line 59 /base/src/main/java/com/sun/javafx/collections ElementObservableListDecorator.java there are about 81 warnings like this, if enabled. I decided to disable them because it may not be a trivial change. Your snippet, of course, compiles without a problem, as it should. ------------- PR: https://git.openjdk.org/jfx/pull/824