BUG-5410: bring the imported source code to Java 7 world