Automated g4 rollback of changelist
*** Reason for rollback ***
Java 16's javac fails:
internal error translating "Example.java"
java.lang.NoClassDefFoundError: Could not initialize class com.google.devtools.j2objc.javac.TreeConverter$1
*** Original change description ***
Add JDK support up through Java 18.
@@ -180,12 +180,6 @@ else ifneq (,$(findstring build 11, $(shell $(JAVA) -version 2>&1)))
JAVA_VERSION = 11
else ifneq (,$(findstring build 15, $(shell $(JAVA) -version 2>&1)))
JAVA_VERSION = 15
-else ifneq (,$(findstring build 16, $(shell $(JAVA) -version 2>&1)))
-JAVA_VERSION = 16
-else ifneq (,$(findstring build 17, $(shell $(JAVA) -version 2>&1)))
-JAVA_VERSION = 17
-else ifneq (,$(findstring build 18, $(shell $(JAVA) -version 2>&1)))
-JAVA_VERSION = 18
else
$(error JDK not supported. Please set JAVA_HOME to JDK 1.8, 11 or 15.)
endif
