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

Add support for excluding packages to @ClassPathExclusions #36120

Closed
wilkinsona opened this issue Jun 29, 2023 · 0 comments
Closed

Add support for excluding packages to @ClassPathExclusions #36120

wilkinsona opened this issue Jun 29, 2023 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@wilkinsona
Copy link
Member

To test #36118 we need to be able to exclude the JDK's java.net.http.HttpClient class in tests. Such an exclusion would simulate running on a JVM that does not include the java.net.http module. We can approximate this well enough for testing purposes by excluding the java.net.http package:

@ClassPathExclusions(packages = "java.net.http")
@wilkinsona wilkinsona added the type: task A general task label Jun 29, 2023
@wilkinsona wilkinsona added this to the 3.2.x milestone Jun 29, 2023
@wilkinsona wilkinsona self-assigned this Jun 29, 2023
@wilkinsona wilkinsona modified the milestones: 3.2.x, 3.2.0-M1 Jun 29, 2023
poutsma added a commit to poutsma/spring-boot that referenced this issue Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant