SpringSource/spring-test-mvc — pull request #46 by rwinch (2012-07-13 03:40:45+00:00)
Title: Jdk5 compatibility

Previously spring-test-mvc required JDK 1.6 to build successfully. Since the pom was configured for JDK 1.5 and most Spring projects still support 1.5 I assume this was not intentional. The problem was that spring-text-mvc used String.getBytes(Charset) and the XML API's (in the tests) which are not available in JDK 1.5.

Now String.getBytes(String) is used and a test dependency on jaxb-api was added. These changes make the project truely JDK 1.5 compatible.

In a separate commit I added the animal-sniffer-maven-plugin to find catch errors like this. I left this as a distinct commit in case the animal-sniffer-maven-plugin is not wanted.