# HG changeset patch # User mchung # Date 1497725450 25200 # Node ID 0aa7752bc392ca9dea0547a02a65990c4dd8ec1b # Parent 9b712790281e8f67d8496312cbe12e7216f0f8a8 8182416: Clean up module-info.java like move requires transitive adjacent to exports Reviewed-by: alanb diff -r 9b712790281e -r 0aa7752bc392 hotspot/src/jdk.aot/share/classes/module-info.java --- a/hotspot/src/jdk.aot/share/classes/module-info.java Sat Jun 17 08:03:09 2017 +0100 +++ b/hotspot/src/jdk.aot/share/classes/module-info.java Sat Jun 17 11:50:50 2017 -0700 @@ -23,8 +23,15 @@ * questions. */ +/** + * Defines the Ahead-of-Time (AOT) compiler, {@index jaotc jaotc tool}, + * for compiling Java classes into AOT library. + * + * @moduleGraph + * @since 9 + */ module jdk.aot { - requires jdk.management; requires jdk.internal.vm.ci; requires jdk.internal.vm.compiler; + requires jdk.management; } diff -r 9b712790281e -r 0aa7752bc392 hotspot/src/jdk.internal.vm.compiler/share/classes/module-info.java --- a/hotspot/src/jdk.internal.vm.compiler/share/classes/module-info.java Sat Jun 17 08:03:09 2017 +0100 +++ b/hotspot/src/jdk.internal.vm.compiler/share/classes/module-info.java Sat Jun 17 11:50:50 2017 -0700 @@ -26,11 +26,9 @@ module jdk.internal.vm.compiler { requires java.instrument; requires java.management; + requires jdk.internal.vm.ci; requires jdk.management; - requires jdk.internal.vm.ci; - - // sun.misc.Unsafe is used - requires jdk.unsupported; + requires jdk.unsupported; // sun.misc.Unsafe is used uses org.graalvm.compiler.code.DisassemblerProvider; uses org.graalvm.compiler.core.match.MatchStatementSet;