From acd0d0c8341f9044e5a79c9d1b4f3ebbb843b874 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Thu, 8 Dec 2016 05:26:45 +0000 Subject: Update to javac9-r3297 -- PiperOrigin-RevId: 141396618 MOS_MIGRATED_REVID=141396618 --- third_party/java/jdk/README.md | 4 ++-- third_party/java/jdk/langtools/BUILD | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'third_party/java') diff --git a/third_party/java/jdk/README.md b/third_party/java/jdk/README.md index 5b413d216d..96881e66b8 100644 --- a/third_party/java/jdk/README.md +++ b/third_party/java/jdk/README.md @@ -9,8 +9,8 @@ from [OpenJDK](https://openjdk.java.net) but compiled for a lower version of the JRE. Those builds are vendored in //third_party/java/jdk/langtools. -Current Bazel supports running on a JRE 8 only because the default Java -compiler used (//third_party/java/jdk/langtools/javac.jar) is the +Currently Bazel supports running on a JRE 8 only because the default Java +compiler used (//third_party/java/jdk/langtools/javac-9-dev-r3297-1.jar) is the Java compiler of OpenJDK 9 compiled to run on a JRE 8. This cannot be built to run on a JRE 7 because of code incompatibility. Bazel's JavaBuilder at HEAD cannot be linked with earlier version of the diff --git a/third_party/java/jdk/langtools/BUILD b/third_party/java/jdk/langtools/BUILD index 9a44df1018..b529d2a45d 100644 --- a/third_party/java/jdk/langtools/BUILD +++ b/third_party/java/jdk/langtools/BUILD @@ -19,22 +19,22 @@ filegroup( "//conditions:default": [ "BUILD", "LICENSE", - "javac.jar", - "javac.srcjar", + "javac-9-dev-r3297-1.jar", + "javac-9-dev-r3297-1.srcjar", ], }), ) java_import( name = "javac", - jars = ["javac.jar"], + jars = ["javac-9-dev-r3297-1.jar"], ) filegroup( name = "javac_jar", srcs = select({ "//tools/jdk:jdk7": ["javac7.jar"], - "//conditions:default": ["javac.jar"], + "//conditions:default": ["javac-9-dev-r3297-1.jar"], }), ) -- cgit v1.2.3