From 2d5ae0d920d1f602e15d9430f3650c946ad2cdfe Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 28 Nov 2017 23:43:07 +0100 Subject: some bugfixes for JDK9 support involving the Options system of javac. --- src/stubs/com/sun/tools/javac/util/Options.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/stubs/com/sun/tools/javac/util/Options.java (limited to 'src/stubs/com/sun/tools/javac') diff --git a/src/stubs/com/sun/tools/javac/util/Options.java b/src/stubs/com/sun/tools/javac/util/Options.java new file mode 100644 index 00000000..e7ba8960 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/util/Options.java @@ -0,0 +1,20 @@ +package com.sun.tools.javac.util; + +import java.util.Set; + +import com.sun.tools.javac.main.Option; +import com.sun.tools.javac.main.OptionName; +import com.sun.tools.javac.main.JavacOption; + +public class Options { + public Options(Context context) {} + public static final Context.Key optionsKey = new Context.Key(); + public static Options instance(Context context) { return null; } + public String get(String key) { return null; } + public String get(Option opt) { return null; } + public String get(OptionName name) { return null; } + public String get(JavacOption.Option opt) { return null; } + public void putAll(Options o) {} + public void put(String key, String value) {} + public Set keySet() { return null; } +} -- cgit