JDK-8116026 : PixelFormat.getByteBgraInstance.setArgb() appears to set the components in the wrong order
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7u6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2012-06-22
  • Updated: 2015-06-17
  • Resolved: 2012-06-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.
JDK 7
7u6Fixed
Related Reports
Blocks :  
Relates :  
Description
The SWTFXUtils exporter noticed a change in the behavior of this PixelFormat recently.  The root cause appears to be that we switched from using a call to setArgb per pixel when reading a buffer to using optimized loops.  Apparently the optimized loops are correct, but this method is wrong so the optimization caused a noticeable change in behavior.
Comments
fixed with changeset: changeset: 1338:ab81c2cf3cca date: Sat Jun 23 19:53:47 2012 -0700 summary: Fix RT-22885: PixelFormat.get/setArgb() methods have errors. Changeset includes a new unit test for the PixelFormat.set/getArgb methods: javafx-ui-common/test/unit/javafx/scene/image/PixelFormatTest.java
24-06-2012