Change ClientCore's baseline to Java 8 and make it a multi-release JAR #43931
+1,276
−548
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.
Description
Reverts the baseline of ClientCore, and downstream libraries, back to Java 8 from Java 17. This PR does not add back
http-jdk-httpclient
and instead moves that code added to ClientCore into a multi-release JAR folder. With this change, by default, there will be NO HttpClient instance on the classpath or available when running with Java 8 to Java 11, only Java 12 and beyond will have a default HttpClient available. For anyone using Java 8 - 11 they MUST include one of the HttpClient implementation packages to allow their application to work. Additionally, when creating an uber JAR with ClientCore you MUST enable it to be a multi-release JAR otherwise the application WON'T have an HttpClient available by default unless another one is included in the uber JAR.All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines