8172670: AOT Platform Support for Windows and Mac OS X x64
authorbobv
Thu, 09 Feb 2017 15:24:38 -0500
changeset 46838 c0382298afc7
parent 43611 e6396b0cd092
child 46839 7db0c62b659d
8172670: AOT Platform Support for Windows and Mac OS X x64 Reviewed-by: mchung, alanb
jdk/src/java.base/unix/classes/module-info.java.extra
jdk/src/java.base/windows/classes/module-info.java.extra
--- a/jdk/src/java.base/unix/classes/module-info.java.extra	Tue Jan 31 19:26:10 2017 -0500
+++ b/jdk/src/java.base/unix/classes/module-info.java.extra	Thu Feb 09 15:24:38 2017 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -32,5 +32,3 @@
 
 exports jdk.internal.module to jdk.vm.compiler;
 
-// AOT uses jdk.internal.misc.Unsafe
-exports jdk.internal.misc to jdk.aot;
--- a/jdk/src/java.base/windows/classes/module-info.java.extra	Tue Jan 31 19:26:10 2017 -0500
+++ b/jdk/src/java.base/windows/classes/module-info.java.extra	Thu Feb 09 15:24:38 2017 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,3 +26,13 @@
 exports sun.security.rsa to jdk.crypto.mscapi;
 exports sun.security.internal.spec to jdk.crypto.mscapi;
 exports sun.security.util to jdk.crypto.mscapi;
+
+// jdk.vm.compiler uses Unsafe and VM classes from jdk.internal.misc
+exports jdk.internal.misc to jdk.vm.compiler;
+opens   jdk.internal.misc to jdk.vm.compiler;
+
+// jdk.vm.compiler uses com.sun.crypto.provider to generate crypto intrinsics
+opens com.sun.crypto.provider to jdk.vm.compiler;
+
+exports jdk.internal.module to jdk.vm.compiler;
+