Guard EncryptedProperties store operations due to Java 11 changes (GH #721)#730
Closed
noloader wants to merge 0 commit into
Closed
Guard EncryptedProperties store operations due to Java 11 changes (GH #721)#730noloader wants to merge 0 commit into
noloader wants to merge 0 commit into
Conversation
Contributor
|
@noloader - So, I did the following steps: The 'mvn test' resulted in these errors, the same place you are experiencing them. I am running on a fully-patched Linux Mint 19.2, with a 4.15.0-189-generic kernel on x86_64 processor. The significant error output from 'mvn test' was: I've attached the Surefire report, but not sure it will help. |
Contributor
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This check-in guards the EncryptedProperties self test failures due to Java 11 deprecating some write and store operations.
Previously the self test code would perform a write or store operation. This was Ok on Java 8 and 9, but causes an exception on Java 11.
This change guards the write and store operations, and skips the test if an
UnsupportedOperationExceptionis encountered.