JDK-8195131 : Dead code removal for changes present in JDK-8176795
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2018-01-16
  • Updated: 2018-03-12
  • Resolved: 2018-02-08
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 11
11 b04Fixed
Related Reports
Relates :  
Description
As part of JDK-8176795 we made changes to XRSolidSrcPict.prepareSrcPict() which made conversion of Non-Premultiplied color to Premultiplied color code present in XRColor.setColorValues() as unreachable.

We should remove this dead code and its corresponding second argument "boolean pre" from XRColor.setColorValues() and make relavant changes at other places.