diff options
Diffstat (limited to 'third_party/java/jdk')
-rw-r--r-- | third_party/java/jdk/README.md | 4 | ||||
-rw-r--r-- | third_party/java/jdk/langtools/BUILD | 8 |
2 files changed, 6 insertions, 6 deletions
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"], }), ) |