fix problem of plugin with java8 and intellij latest