JDK-8312562 : UnsupportedOperationException when we run FX8-3DFeatures.NearAndFarClipTest
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-07-24
  • Updated: 2023-07-24
  • Resolved: 2023-07-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Related Reports
Blocks :  
Description
When we run NearAndFarClipTest or ParallelNearAndFarClipTest of FX8-3DFeatures we get below exception and nothing draws:

java.lang.UnsupportedOperationException: Not implemented
    at javafx.graphics@21-internal/com.sun.prism.mtl.MTLRTTexture.setLinearFiltering(MTLRTTexture.java:128)
    at javafx.graphics@21-internal/com.sun.javafx.sg.prism.NGShape.renderContent(NGShape.java:237)
    at javafx.graphics@21-internal/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2074)
    at javafx.graphics@21-internal/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1966)
    at javafx.graphics@21-internal/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
    at javafx.graphics@21-internal/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2074)
    at javafx.graphics@21-internal/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1966)
    at javafx.graphics@21-internal/com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:480)
    at javafx.graphics@21-internal/com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:329)
    at javafx.graphics@21-internal/com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:156)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics@21-internal/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at javafx.graphics@21-
Comments
Changeset: 1c12816a Author: Jayathirth Rao D V <jayathirth.d.v@oracle.com> Committer: Ambarish Rapte <arapte@openjdk.org> Date: 2023-07-24 12:41:13 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/1c12816a7395ba15457ee92cefbcebb752c3a28c
24-07-2023

We dont override setLinearFiltering() in any other pipelines. We have setLinearFiltering() only in BaseTexture and we just call getLinearFiltering() in each pipeline to set appropriate texture filtering.
24-07-2023