-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Fix DM_DEFAULT_ENCODING
SpotBugs violations
#6050
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a029cb7
Fix `DM_DEFAULT_ENCODING` SpotBugs violations
basil 67063e7
Revert changes to SCM
basil ebb6700
Restore changes to SCM; fix test bugs
basil dbecf0a
Not a test bug after all
basil 703e597
Merge remote-tracking branch 'origin/master' into DM_DEFAULT_ENCODING
basil a0d59f6
Merge remote-tracking branch 'origin/master' into DM_DEFAULT_ENCODING
basil 76ef55a
Merge remote-tracking branch 'origin/master' into DM_DEFAULT_ENCODING
basil a2661d8
Merge remote-tracking branch 'origin/master' into DM_DEFAULT_ENCODING
basil 032a3fa
Update cli/src/main/java/hudson/cli/CLIConnectionFactory.java
basil 181119a
Update cli/src/main/java/hudson/cli/CLIConnectionFactory.java
basil 5876b03
Use getClientCharset() in CLICommand
basil f7628b3
Use UTF-8 in ConsoleNote
basil 0684c9c
Let us use ASCII here perhaps
basil 7e51696
Use UTF-8 in HudsonAuthenticationEntryPoint
basil 265558f
Use UTF-8 in DefaultCrumbIssuer
basil d6904a2
Salt is a hex-string, so US_ASCII works
basil 7d47fa1
Deprecate CompressedFile#loadAsString
basil b14c624
Use UTF-8 in ConsistentHash
basil ebbc692
Use UTF-8 in LogTaskListener
basil ae5a020
Use ASCII for DefaultConfidentialStore
basil af9dccc
Missed one
basil 9da3b4a
Merge remote-tracking branch 'origin/master' into DM_DEFAULT_ENCODING
basil 53a4a6e
Merge remote-tracking branch 'origin/master' into DM_DEFAULT_ENCODING
basil 6d5d610
Merge remote-tracking branch 'origin/master' into DM_DEFAULT_ENCODING
basil a7ff6ad
Get a new build
basil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change to
SCM.java
elsewhere in this PR (from traditional Java I/O to NIO.2) means that cancelling a job while SCM checkout is taking place can now throwClosedByInterruptException
as well asInterruptedException
andInterruptedIOException
. Higher-level code marks the build asABORTED
forInterruptedException
andFAILURE
for other I/O exceptions, so we convert theClosedByInterruptException
to anInterruptedException
here (just as the existing code does forInterruptedIOException
) so that the build will be shown asABORTED
(as with the pre-NIO.2 logic).