hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider.java
changeset 46344 694c102fd8ed
parent 43972 1ade39b8381b
--- 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);
     }
 }