Add the java related files to the locked_files list