Skip to content

8271254: javac generates unreachable code when using empty semicolon statement #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

8271254: javac generates unreachable code when using empty semicolon statement #108

wants to merge 1 commit into from

Conversation

lgxbslgx
Copy link
Member

@lgxbslgx lgxbslgx commented Sep 28, 2021

Hi all,

Request to backport this change about unreachable code to jdk17u. The code applies cleanly.

The commit being backported was authored by Guoxiong Li on 14 Sep 2021 and was reviewed by Vicente Romero.

Best Regards,
-- Guoxiong


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8271254: javac generates unreachable code when using empty semicolon statement

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17u pull/108/head:pull/108
$ git checkout pull/108

Update a local copy of the PR:
$ git checkout pull/108
$ git pull https://git.openjdk.java.net/jdk17u pull/108/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 108

View PR using the GUI difftool:
$ git pr show -t 108

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk17u/pull/108.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 28, 2021

👋 Welcome back gli! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title Backport fe89dd3b0d47807c7dbfe24d17f6aca152fc8908 8271254: javac generates unreachable code when using empty semicolon statement Sep 28, 2021
@openjdk
Copy link

openjdk bot commented Sep 28, 2021

This backport pull request has now been updated with issue from the original commit.

@openjdk
Copy link

openjdk bot commented Sep 28, 2021

@lgxbslgx This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8271254: javac generates unreachable code when using empty semicolon statement

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Sep 28, 2021
@mlbridge
Copy link

mlbridge bot commented Sep 28, 2021

Webrevs

@lgxbslgx
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Sep 29, 2021

Going to push as commit 108e1bd.
Since your change was applied there have been 4 commits pushed to the master branch:

  • dd70512: 8273408: java.lang.AssertionError: typeSig ERROR on generated class property of record
  • c2d1db9: 8273961: jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character
  • f48db89: 8272328: java.library.path is not set properly by Windows jpackage app launcher
  • b55ec5b: 8271718: Crash when during color transformation the color profile is replaced

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot closed this Sep 29, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Sep 29, 2021
@openjdk
Copy link

openjdk bot commented Sep 29, 2021

@lgxbslgx Pushed as commit 108e1bd.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

1 participant