Skip to content
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

8294466: Minimize disabled warnings in java.desktop #10453

Closed
wants to merge 296 commits into from

Conversation

magicus
Copy link
Member

@magicus magicus commented Sep 27, 2022

After JDK-8294281, it is now possible to disable warnings for individual files instead for whole libraries. I used this opportunity to go through all disabled warnings in java.desktop native libraries.

Any warnings that were only triggered in a few files were removed from the library as a whole, and changed to be only disabled for those files.

Some warnings didn't trigger in any file anymore, and could just be removed.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8294466: Minimize disabled warnings in java.desktop

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/10453/head:pull/10453
$ git checkout pull/10453

Update a local copy of the PR:
$ git checkout pull/10453
$ git pull https://git.openjdk.org/jdk pull/10453/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 10453

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/10453.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 27, 2022

👋 Welcome back ihse! 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
Copy link

openjdk bot commented Sep 27, 2022

@magicus The following labels will be automatically applied to this pull request:

  • build
  • client

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added build build-dev@openjdk.org client client-libs-dev@openjdk.org labels Sep 27, 2022
@openjdk
Copy link

openjdk bot commented Oct 18, 2022

@magicus this pull request can not be integrated into master due to one or more merge conflicts. To resolve these merge conflicts and update this pull request you can run the following commands in the local repository for your personal fork:

git checkout java.desktop-warnings-per-file
git fetch https://git.openjdk.org/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push

@openjdk openjdk bot added the merge-conflict Pull request has merge conflict with target branch label Oct 18, 2022
Brian Burkhalter and others added 23 commits October 18, 2022 23:47
…ly due to unstable /proc/cpuinfo output

Reviewed-by: alanb, shade, lancea
Reviewed-by: chegar, vtewari, dfuchs, jpai
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, shade
Reviewed-by: tschatzl, kbarrett
Reviewed-by: naoto, coffeys
Reviewed-by: lancea, bpb, naoto
lahodaj and others added 20 commits October 18, 2022 23:48
Reviewed-by: sadayapalam, darcy, vromero
Reviewed-by: yadongwang, fyang
…Prime and BigInteger::nextProblablePrime

Reviewed-by: darcy, bpb
…e performed earlier, at URL construction

Reviewed-by: jpai, michaelm
Reviewed-by: stuefe, luhenry, fyang
…hen file opened for append not specified

Reviewed-by: alanb
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: aturbanov, prr
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dnsimon, dcubed
Reviewed-by: naoto, bpb, lancea
@openjdk openjdk bot removed the merge-conflict Pull request has merge conflict with target branch label Oct 18, 2022
@magicus magicus marked this pull request as ready for review October 18, 2022 22:19
@openjdk openjdk bot added the rfr Pull request is ready for review label Oct 18, 2022
@mlbridge
Copy link

mlbridge bot commented Oct 18, 2022

Webrevs

@magicus
Copy link
Member Author

magicus commented Oct 20, 2022

I fouled up with the merge, and this PR got just messy. I'll close this and open a new.

@magicus magicus closed this Oct 20, 2022
@magicus magicus deleted the java.desktop-warnings-per-file branch October 20, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build-dev@openjdk.org client client-libs-dev@openjdk.org rfr Pull request is ready for review