remove java7 related method from WAL