From 7da078a2e1b8d89655a09a1af367b9883b0863f9 Mon Sep 17 00:00:00 2001 From: Jingwen Chen Date: Wed, 29 May 2019 07:33:49 -0700 Subject: [PATCH] Fix GenClass target label in java_tool's java_toolchain Fixes https://github.com/bazelbuild/intellij/issues/845 This causes IntelliJ resolution to fail when there's a `java_plugin` in the build. The filegroup is `GenClass`, not `Genclass`. ``` filegroup( name = "GenClass", srcs = ["java_tools/GenClass_deploy.jar"], ) ``` This will require a new java_tools release and a patch release to 0.26.0. Closes #8490. PiperOrigin-RevId: 250487423 --- tools/jdk/BUILD.java_tools | 2 +- tools/jdk/BUILD.java_tools.old | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/jdk/BUILD.java_tools b/tools/jdk/BUILD.java_tools index 7d4ee454983546..c85893f6a33836 100644 --- a/tools/jdk/BUILD.java_tools +++ b/tools/jdk/BUILD.java_tools @@ -15,7 +15,7 @@ java_toolchain( ], }, forcibly_disable_header_compilation = 0, - genclass = [":Genclass"], + genclass = [":GenClass"], header_compiler = [":Turbine"], header_compiler_direct = [":TurbineDirect"], ijar = [":ijar"], diff --git a/tools/jdk/BUILD.java_tools.old b/tools/jdk/BUILD.java_tools.old index ff438af752e143..943c99c71128bd 100644 --- a/tools/jdk/BUILD.java_tools.old +++ b/tools/jdk/BUILD.java_tools.old @@ -7,7 +7,7 @@ java_toolchain( source_version = "8", target_version = "8", forcibly_disable_header_compilation = 0, - genclass = [":Genclass"], + genclass = [":GenClass"], header_compiler = [":turbine"], header_compiler_direct = [":turbine_direct"], ijar = [":ijar"],