-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use Java 17 as the LTS Version #27938
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
Merged
alzimmermsft
merged 36 commits into
Azure:main
from
alzimmermsft:AzEng_MakeJava17DefaultLts
May 31, 2022
Merged
Changes from 30 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
57f6819
Make Java 17 the Default LTS
alzimmermsft 36294c2
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft d23031d
Enable Java 17 in pipelines, remove old codesnippet tooling completely
alzimmermsft a9dff95
Attempt to enable Track 1 libraries to use 1.11 as LTS due to issues …
alzimmermsft 5a4fd7e
Centralize usage of Java 11 for Data SDKs
alzimmermsft 6076eed
Try to fix capture group usages without spaces before 1.11
alzimmermsft 87fc73b
Revert changes to eng/common
alzimmermsft 9deb01a
Slightly change matrix replace
alzimmermsft 554d16f
Really revert the eng/common change
alzimmermsft 6c36430
Change using editor that doesn't implicitly remove whitespaces
alzimmermsft 87f905f
Fix linting and test failures in Java 17, use Java 11 for Identity an…
alzimmermsft 9d72f85
Merge in upstream
alzimmermsft 833a196
Update code for Java 17 CI
alzimmermsft 8031f49
Fix tests
alzimmermsft dcb1faa
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft 82d7dc1
Continue using Java 11 in Cosmos CI
alzimmermsft 758708a
Fix usage of MatrixReplace where is doesn't exist
alzimmermsft 70e22a3
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft f497795
Skip tests that don't work in higher JVM versions
alzimmermsft bb3f386
Fix version check when Java version is 1.x
alzimmermsft b845132
Fix merge conflict and Scala test
alzimmermsft 2f478d9
Merge in upstream and scope down APIs
alzimmermsft 57bb300
Add RevApi suppressions for Spring changes
alzimmermsft 9d1da56
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft e1c9699
Some RevApi cleanup
alzimmermsft 6670d2a
Merge in upstream
alzimmermsft 843d516
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft f56118f
Merge in upstream
alzimmermsft d3ddd61
Pin Cosmos to Java 11
alzimmermsft a6ea299
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft 5444823
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft a0f7de6
Delete files that have been removed in repo
alzimmermsft 8144937
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft 86a9b70
Merge branch 'main' into AzEng_MakeJava17DefaultLts
alzimmermsft 92b4f6f
Add Java 11 run to matrix
alzimmermsft 9b1e020
Resolve Cosmos Spark test failing in Java 17
alzimmermsft 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 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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" }, | ||
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" } | ||
}, | ||
"JavaTestVersion": [ "1.8", "1.11" ], | ||
"JavaTestVersion": [ "1.8", "1.17" ], | ||
kasobol-msft marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd keep one job with 11 or 9 (as long as core compiles partially with 9). |
||
"AZURE_TEST_HTTP_CLIENTS": [ "okhttp", "netty" ], | ||
"TestFromSource": false, | ||
"TestGoals": "surefire:test", | ||
|
@@ -17,15 +17,15 @@ | |
"exclude": [ | ||
{ | ||
"Pool": "azsdk-pool-mms-win-2019-general", | ||
"JavaTestVersion": "1.11" | ||
"JavaTestVersion": "1.17" | ||
} | ||
], | ||
"include": [ | ||
{ | ||
"Agent": { | ||
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" } | ||
}, | ||
"JavaTestVersion": "1.11", | ||
"JavaTestVersion": "1.17", | ||
"AZURE_TEST_HTTP_CLIENTS": "netty", | ||
"TestFromSource": true, | ||
"TestGoals": "verify", | ||
|
@@ -35,7 +35,7 @@ | |
"Agent": { | ||
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" } | ||
}, | ||
"JavaTestVersion": "1.11", | ||
"JavaTestVersion": "1.17", | ||
"AZURE_TEST_HTTP_CLIENTS": "netty", | ||
"TestFromSource": false, | ||
"TestGoals": "verify", | ||
|
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.