JDK-8289397 : Fix warnings: Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: openjfx19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-06-28
  • Updated: 2022-11-29
  • Resolved: 2022-07-29
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
openjfx20 b02Fixed
Related Reports
Blocks :  
Description
Eclipse Version 2022-06 (4.24.0) reports this warning in the following places:

```
Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment	PrEffectHelper.java	line 168	/graphics/src/main/java/com/sun/scenario/effect/impl/prism
Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment	StyleManager.java	line 1275	/graphics/src/main/java/com/sun/javafx/css
Possible accidental assignment in place of a comparison. A condition expression should not be reduced to an assignment	Utils.java	line 875	/graphics/src/main/java/com/sun/javafx/util
```

Comments
Changeset: 4b4deaef Author: Andy Goryachev <angorya@openjdk.org> Committer: Kevin Rushforth <kcr@openjdk.org> Date: 2022-07-29 17:49:55 +0000 URL: https://git.openjdk.org/jfx/commit/4b4deaef96ac9efcb2f0cb57891ef617234bee8a
29-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/851 Date: 2022-07-26 21:14:58 +0000
26-07-2022