RFR: 8324736: Invalid end positions for EMPTY_STATEMENT [v2]
Archie Cobbs
acobbs at openjdk.org
Sat Feb 24 00:29:11 UTC 2024
> In the fix for [JDK-8305671](https://bugs.openjdk.org/browse/JDK-8305671), an `EMPTY_STATEMENT` representing a lone semicolon was being created with the wrong source code position. The bug was that the starting position needed to be captured prior to advancing to the next token, not after.
Archie Cobbs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge branch 'master' into JDK-8324736
- Fix bug where source positions got reversed.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17595/files
- new: https://git.openjdk.org/jdk/pull/17595/files/234cfe99..b09afc89
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17595&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17595&range=00-01
Stats: 61953 lines in 2369 files changed: 28092 ins; 15613 del; 18248 mod
Patch: https://git.openjdk.org/jdk/pull/17595.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17595/head:pull/17595
PR: https://git.openjdk.org/jdk/pull/17595
More information about the compiler-dev
mailing list