Package resolution when compiling jdk.aot against jdk.vm.ci

Andrew Haley aph at redhat.com
Mon Feb 13 14:44:23 UTC 2017


Sorry, found it:

diff --git a/src/jdk.vm.ci/share/classes/module-info.java b/src/jdk.vm.ci/share/classes/module-info.java
--- a/src/jdk.vm.ci/share/classes/module-info.java
+++ b/src/jdk.vm.ci/share/classes/module-info.java
@@ -35,6 +35,7 @@
         jdk.vm.ci.hotspot.sparc.SPARCHotSpotJVMCIBackendFactory;

     exports jdk.vm.ci.aarch64 to
+        jdk.aot,
         jdk.vm.compiler;
     exports jdk.vm.ci.amd64 to
         jdk.aot,

One thought: it would be nice if javac were a bit more helpful: simply saying
"not found" is rather baffling.  "Not exported" would be super.

Andrew.


More information about the graal-dev mailing list