RFR: 8289384: Fix warnings: method does not override the inherited method since it is private to a different package

Nir Lisker nlisker at openjdk.org
Fri Jul 8 22:03:33 UTC 2022


On Fri, 8 Jul 2022 21:37:47 GMT, Andy Goryachev <duke at openjdk.org> wrote:

> The fix includes:
> - renaming of offending methods to avoid confusion
> - explicitly declaring the offending methods as private

modules/javafx.graphics/src/main/java/com/sun/prism/impl/ps/BaseShaderGraphics.java line 92:

> 90:     BaseShaderContext getBaseShaderContext() {
> 91:         return context;
> 92:     }

Mentioning this was brought up in relation to a different PR: https://github.com/openjdk/jfx/pull/628#issuecomment-924898354

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

PR: https://git.openjdk.org/jfx/pull/824


More information about the openjfx-dev mailing list