equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
47 private static final String[] CTW_COMMAND = { |
47 private static final String[] CTW_COMMAND = { |
48 "-Xbootclasspath/a:.", |
48 "-Xbootclasspath/a:.", |
49 "-XX:+UnlockDiagnosticVMOptions", |
49 "-XX:+UnlockDiagnosticVMOptions", |
50 "-XX:+WhiteBoxAPI", |
50 "-XX:+WhiteBoxAPI", |
51 "-Dsun.hotspot.tools.ctw.logfile=" + LOG_FILE, |
51 "-Dsun.hotspot.tools.ctw.logfile=" + LOG_FILE, |
|
52 "--add-exports", "java.base/jdk.internal.access=ALL-UNNAMED", |
52 "--add-exports", "java.base/jdk.internal.jimage=ALL-UNNAMED", |
53 "--add-exports", "java.base/jdk.internal.jimage=ALL-UNNAMED", |
53 "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED", |
54 "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED", |
54 "--add-exports", "java.base/jdk.internal.reflect=ALL-UNNAMED", |
55 "--add-exports", "java.base/jdk.internal.reflect=ALL-UNNAMED", |
55 sun.hotspot.tools.ctw.CompileTheWorld.class.getName(), |
56 sun.hotspot.tools.ctw.CompileTheWorld.class.getName(), |
56 }; |
57 }; |