8384100: UNSIGNED5::Reader::try_skip() is missing a terminating condition#31077
8384100: UNSIGNED5::Reader::try_skip() is missing a terminating condition#31077mgronlun wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back mgronlun! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
The total number of required reviews for this PR has been set to 2 based on the presence of this label: |
|
/reviewers 1 |
|
Curiously, the existing call site in FieldInfo skip has not trapped on the assert. Perhaps a compiler inlining this location will remove the return value 's' and, subsequently, also remove the assert? Will try to see what the compiler produces here, in debug builds. |
Not so mysterious after all: FieldInfoReader::skip_field_info() and FieldInfoReader::skip_to_field_info() don't have any usages. |
Greetings,
Tiny fix for try_skip().
Found when fixing JDK-8382332
Thanks
Markus
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31077/head:pull/31077$ git checkout pull/31077Update a local copy of the PR:
$ git checkout pull/31077$ git pull https://git.openjdk.org/jdk.git pull/31077/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31077View PR using the GUI difftool:
$ git pr show -t 31077Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31077.diff
Using Webrev
Link to Webrev Comment