fix spring file, working only in open jdk 7...