Skip to content

Support for HtmlUnit 2.25+ [SPR-15319] #19882

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-15319 and commented

HtmlUnit 2.25 changed its WebRequest.getCharset() method to return a Charset instead of a String, breaking binary compatibility with our HtmlUnitRequestBuilder.

As of 5.0 RC1, we can simply require HtmlUnit 2.25+ and use the new signature accordingly. In 4.3.8, we can reflectively tolerate both signatures.


Issue Links:

Referenced from: commits 9de9761, e61e8d5

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions