Fix of ProjectDirScripResolverIntegrationTest because of a java 1.6 compiler bug

Test code changes because of java 1.6 compiler

see bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7034548