Revert "OpenJDK 11: Merging in java.lang.Compiler"
This reverts commit 3bc526c7557b7aab7c84c93aa3aababc37ef2bb2.
Reason for revert: b/201273388
Change-Id: I0096ffc8919ae933e0347b82c3d06cbb554b25d0
diff --git a/api/current.txt b/api/current.txt
index 723042b..5099540 100755
--- a/api/current.txt
+++ b/api/current.txt
@@ -2954,12 +2954,12 @@
method public int compareTo(T);
}
- @Deprecated public final class Compiler {
- method @Deprecated public static Object command(Object);
- method @Deprecated public static boolean compileClass(Class<?>);
- method @Deprecated public static boolean compileClasses(String);
- method @Deprecated public static void disable();
- method @Deprecated public static void enable();
+ public final class Compiler {
+ method public static Object command(Object);
+ method public static boolean compileClass(Class<?>);
+ method public static boolean compileClasses(String);
+ method public static void disable();
+ method public static void enable();
}
@java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.LOCAL_VARIABLE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PACKAGE, java.lang.annotation.ElementType.MODULE, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.TYPE}) public @interface Deprecated {