The problem is patents, which are covered in GPL 3 but not GPL 2 which OpenJDK uses. That is the basis for the whole Oracle/Google lawsuit.