Skip to content

Add support for excluding packages to @ClassPathExclusions #36120

Closed
@wilkinsona

Description

@wilkinsona

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")

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions