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
Juergen Hoeller opened SPR-15319 and commented
HtmlUnit 2.25 changed its
WebRequest.getCharset()method to return aCharsetinstead of aString, breaking binary compatibility with ourHtmlUnitRequestBuilder.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