Renaming com.oracle.graal to org.graalvm.compiler

Doug Simon doug.simon at oracle.com
Wed Dec 7 20:39:02 UTC 2016


A requirement for integrating graal-core into OpenJDK as part of AOT[1] is to remove Oracle from package names. As such, we are renaming all com.oracle.graal packages to org.graalvm.compiler (to avoid redundancy, com.oracle.graal.compiler.** will be renamed to org.graalvm.compiler.core.**). A preview of this change can be seen here:

https://github.com/graalvm/graal-core/pull/238

Once you pull these changes, you should `mx clean; mx ideinit` and re-import all projects in your IDE.

Be extra diligent when merging (or rebasing these changes) into any branches you have. I’ve taken care to split the directory renaming into it’s own commit without any other files changes. This apparently is a good strategy[2] to ensure git sees the renames. Even so, if you have new files in your branch, you may have to do some manual cleanup after merging.

This change should arrive in the github repo this Friday at the latest.

-Doug

[1] https://bugs.openjdk.java.net/browse/JDK-8166417
[2] http://stackoverflow.com/questions/433111/how-to-make-git-mark-a-deleted-and-a-new-file-as-a-file-move


More information about the graal-dev mailing list