Remove workaround for newer Java runtimes that was necessary with earlier Spring Framework versions.
Original pull request: #275.