JDK-8004861 : [opengl] rendering with custom composite causes internal error
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2012-12-11
  • Updated: 2018-09-05
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
tbdUnresolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
A custom composite used for rendering with opengl pipeline
causes an internal error:

Caused by: java.lang.InternalError: not implemented yet
	at sun.java2d.opengl.OGLSurfaceData.getRaster(OGLSurfaceData.java:397)
	at sun.java2d.pipe.GeneralCompositePipe.renderPathTile(GeneralCompositePipe.java:100)
	at sun.java2d.pipe.SpanShapeRenderer$Composite.renderBox(SpanShapeRenderer.java:60)
	at sun.java2d.pipe.SpanShapeRenderer.spanClipLoop(SpanShapeRenderer.java:213)
	at sun.java2d.pipe.SpanShapeRenderer.renderSpans(SpanShapeRenderer.java:196)
	at sun.java2d.pipe.SpanShapeRenderer.draw(SpanShapeRenderer.java:90)
	at sun.java2d.pipe.PixelToShapeConverter.drawLine(PixelToShapeConverter.java:52)
	at sun.java2d.pipe.ValidatePipe.drawLine(ValidatePipe.java:62)
	at sun.java2d.SunGraphics2D.drawLine(SunGraphics2D.java:2137)
	at ogl.CustomCompositeTest$TestComponent.renderTest(CustomCompositeTest.java:100)
	at ogl.CustomCompositeTest$TestComponent.paintComponent(CustomCompositeTest.java:86)
 
Attached test demonstrates the problem.

Note that a fix for 7124347 resolves similar problem for the case of rendering of images,
but other pipes are still vulnerable to the problem.