hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider.java
--- a/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider.java Mon Dec 12 16:16:27 2016 +0300
+++ b/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider.java Wed Mar 22 13:42:45 2017 -0700
@@ -22,6 +22,8 @@
*/
package org.graalvm.compiler.hotspot;
+import static org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.HOTSPOT_OPTIONS;
+
import java.io.PrintStream;
import org.graalvm.compiler.debug.TTYStreamProvider;
@@ -36,13 +38,13 @@
// @formatter:off
@Option(help = "File to which logging is sent. A %p in the name will be replaced with a string identifying " +
- "the process, usually the process id and %t will be replaced by System.currentTimeMillis().", type = OptionType.Expert)
- public static final PrintStreamOption LogFile = new PrintStreamOption();
+ "the process, usually the process id and %t will be replaced by System.currentTimeMillis().", type = OptionType.Expert)
+ public static final PrintStreamOptionKey LogFile = new PrintStreamOptionKey();
// @formatter:on
}
@Override
public PrintStream getStream() {
- return Options.LogFile.getStream();
+ return Options.LogFile.getStream(HOTSPOT_OPTIONS);
}
}