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

Replace deprecated URL constructor with URI.toURL in java8 #531

Merged

Conversation

hanneshauer
Copy link
Contributor

The URL constructor used in ProviderInfoBuilder has been deprecated as of JDK20, therefore pact4s fails to build using the latest LTS JDK.

This replaces the constructor with URI.toURL() such that the project can be compiled using JDK versions > 20.

(java8-equivalent of PR #527)

@gaeljw gaeljw self-assigned this Feb 29, 2024
@gaeljw gaeljw added the bug Something isn't working label Feb 29, 2024
@gaeljw gaeljw added this to the 0.11.0 milestone Feb 29, 2024
@gaeljw gaeljw force-pushed the fix-deprecated-url-constructor-java-8 branch from c7129cf to 6bcb0ef Compare March 1, 2024 08:45
@gaeljw gaeljw changed the base branch from main to java8 March 1, 2024 08:45
@gaeljw gaeljw force-pushed the fix-deprecated-url-constructor-java-8 branch from 6bcb0ef to a033079 Compare March 1, 2024 10:10
@gaeljw gaeljw merged commit 6a16a06 into jbwheatley:java8 Mar 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants