Skip to content

Conversation

@aschackmull
Copy link
Contributor

Last minute addition to the change notes.

@pavgust @felicity-semmle

been directly equatable to `Expr` and `Stmt`. Exploiting these equalities,
for example by using casts, is now deprecated, and the conversions
`Expr.getControlFlowNode()` and `Stmt.getControlFlowNode()` should be used
instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth including an example of before and after, or is this obvious to users?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mostly a warning about a breaking change we've agreed to put in 1.20, which we've convinced ourselves hopefully won't affect too many. The easiest is to just ignore the 1.19 deprecation and fix any compile errors when upgrading to 1.20, so we'll add more information in the 1.20 change notes.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay - makes sense. I've raised https://jira.semmle.com/browse/SD-2920 for the changes required to publish this change for 1.19.

@semmle-qlci semmle-qlci merged commit 1470f9f into github:rc/1.19 Dec 12, 2018
@aschackmull aschackmull deleted the java/change-note-cfg-cast branch December 12, 2018 18:25
cklin pushed a commit that referenced this pull request May 23, 2022
Release preparation for version 2.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants