)]}'
{
  "commit": "7729983ec1c6a28582b9c3df5b229a86a5cfe881",
  "tree": "73ee86ff398a98e754670953c68fb456d19e79a5",
  "parents": [
    "42077a09e7ff82208e19f84d13d94dd4a58c91dc"
  ],
  "author": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Thu Sep 26 07:04:38 2019 -0700"
  },
  "committer": {
    "name": "Dmitry Lomov",
    "email": "dslomov@google.com",
    "time": "Wed Oct 02 10:26:51 2019 +0200"
  },
  "message": "toolchain_vanilla: Unset source and target language level versions\n\nCloses #9415.\n\nThe main feature of toolchain_vanilla definition is to support newer\nJava language versions that the embedded JDK, e.g.: at the time of this\nCL, toolchain_java could be used to support building with JDK 13 and\nproduce byte code major version 57, using the combination of absolute\njavabase and toolchain_vanilla:\n\n  $ bazel build --define\u003dABSOLUTE_JAVABASE\u003d/use/local/bin/jdk-13 \\\n    --javabase\u003d@bazel_tools//tools/jdk:absolute_javabase \\\n    --host_javabase\u003d@bazel_tools//tools/jdk:absolute_javabase \\\n    --host_java_toolchain\u003d@bazel_tools//tools/jdk:toolchain_vanilla \\\n    --java_toolchain\u003d@bazel_tools//tools/jdk:toolchain_vanilla \\\n    :gerrit\n\nUnfortunately, 6ef6d879ab69225d54ecab3db847fb4eff33bbeb sets source and\ntarget language levels to Java 8 to restore backwards compatibility,\nto fix a regression, that was introduced during bump of remote JDK\nversion to Java 11, in bad5a2beb9f8441d97b88d5c4323055e710f72e8.\n\nThis change restores the neutrality of toolchain_vanilla declaration by\nunsetting source and target language level versions. So that the bazel\ninvocation in the example above produces byte code major version 57\n(Java 13), and not 52 (Java 8) as it is the case before this change.\n\nChange-Id: I1f471c987487b81bc149d1ad4368eee149004d79\n\nCloses #9416.\n\nChange-Id: I1f471c987487b81bc149d1ad4368eee149004d79\nPiperOrigin-RevId: 271342117\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aee40872ff422c777cbb8afd3669952a13206afb",
      "old_mode": 33188,
      "old_path": "tools/jdk/BUILD",
      "new_id": "7776faf3fd83c22f0664d9c119d82ae04152c6fb",
      "new_mode": 33188,
      "new_path": "tools/jdk/BUILD"
    }
  ]
}
