RFR: 8342682: Errors related to unused code on Windows after 8339120 in dt_shmem jdwp security and jpackage [v3]
Julian Waters
jwaters at openjdk.org
Sun Oct 27 06:25:02 UTC 2024
> After 8339120, gcc began catching many different instances of unused code in the Windows specific codebase. Some of these seem to be bugs. I've taken the effort to mark out all the relevant globals and locals that trigger the unused warnings and addressed all of them by commenting out the code as appropriate. I am confident that in many cases this simplistic approach of commenting out code does not fix the underlying issue, and the warning actually found a bug that should be fixed. In these instances, I will be aiming to fix these bugs with help from reviewers, so I recommend anyone reviewing who knows more about the code than I do to see whether there is indeed a bug that needs fixing in a different way than what I did
Julian Waters 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 unused
- 8342682
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21616/files
- new: https://git.openjdk.org/jdk/pull/21616/files/2294b27f..cd57fc6c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21616&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21616&range=01-02
Stats: 30419 lines in 377 files changed: 9472 ins; 19545 del; 1402 mod
Patch: https://git.openjdk.org/jdk/pull/21616.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21616/head:pull/21616
PR: https://git.openjdk.org/jdk/pull/21616
More information about the security-dev
mailing list