Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289384

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • Cause Known

      Eclipse Version 2022-06 (4.24.0) reports this warning in the following places:

      ```
      The method ControlHelper.superProcessCSSImpl(Node) does not override the inherited method from ParentHelper since it is private to a different package ControlHelper.java line 62 /controls/src/main/java/com/sun/javafx/scene/control
      The method CurveFittedAreaChart.getDataSize() does not override the inherited method from XYChart<Number,Number> since it is private to a different package CurveFittedAreaChart.java line 64 /samples/Ensemble8/src/samples/java/ensemble/samples/charts/area/curvefitted
      The method CustomTransfer.checkByteArray(Object) does not override the inherited method from ByteArrayTransfer since it is private to a different package CustomTransfer.java line 80 /swt/src/main/java/javafx/embed/swt
      The method D3DGraphics.getContext() does not override the inherited method from BaseShaderGraphics since it is private to a different package D3DGraphics.java line 81 /graphics/src/main/java/com/sun/prism/d3d
      The method LabelSkinTest.LabelSkinMock.updateDisplayedText() does not override the inherited method from LabeledSkinBase<Label> since it is private to a different package LabelSkinTest.java line 2122 /controls/src/test/java/test/javafx/scene/control/skin
      The method PopupControl.CSSBridgeHelper.superProcessCSSImpl(Node) does not override the inherited method from ParentHelper since it is private to a different package PopupControl.java line 1229 /controls/src/main/java/javafx/scene/control
      The method ProgressIndicatorSkinTest.ProgressIndicatorSkinMock.getProgressColor() does not override the inherited method from ProgressIndicatorSkin since it is private to a different package ProgressIndicatorSkinTest.java line 82 /controls/src/test/java/test/javafx/scene/control/skin
      The method TextFlow.computeChildPrefAreaHeight(Node, Insets) does not override the inherited method from Region since it is private to a different package TextFlow.java line 640 /graphics/src/main/java/javafx/scene/text
      The method TextFlow.computeChildPrefAreaWidth(Node, Insets) does not override the inherited method from Region since it is private to a different package TextFlow.java line 622 /graphics/src/main/java/javafx/scene/text
      ```

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: