Fixed build under JDK 1.8

Spring-WS can now be built under JDK 1.8 (and only JDK 1.8).