{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/3496","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3496/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3496/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3496/events","html_url":"https://github.com/bazelbuild/bazel/issues/3496","id":247607636,"number":3496,"title":"presence of embedded jvm should not influence --javabase","user":{"login":"benjaminp","id":219470,"avatar_url":"https://avatars1.githubusercontent.com/u/219470?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminp","html_url":"https://github.com/benjaminp","followers_url":"https://api.github.com/users/benjaminp/followers","following_url":"https://api.github.com/users/benjaminp/following{/other_user}","gists_url":"https://api.github.com/users/benjaminp/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminp/subscriptions","organizations_url":"https://api.github.com/users/benjaminp/orgs","repos_url":"https://api.github.com/users/benjaminp/repos","events_url":"https://api.github.com/users/benjaminp/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminp/received_events","type":"User","site_admin":false},"labels":[{"id":288539189,"url":"https://api.github.com/repos/bazelbuild/bazel/labels/category:%20rules%20%3E%20java","name":"category: rules > java","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-03T06:45:35Z","updated_at":"2018-05-14T17:59:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The distribution of Bazel with an embedded JVM is great for hermetically distributing Bazel across diverse platforms. Unfortunately, by default, the embedded JVM leaks into builds. Specifically, Bazel uses the embedded JVM java base as `@local_jdk` and thus, by alias, the default value of `--javabase`. I think Bazel should use the same `--javabase` by default regardless of the presence of an embedded JVM."},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/388907668","html_url":"https://github.com/bazelbuild/bazel/issues/3496#issuecomment-388907668","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3496","id":388907668,"user":{"login":"benjaminp","id":219470,"avatar_url":"https://avatars1.githubusercontent.com/u/219470?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminp","html_url":"https://github.com/benjaminp","followers_url":"https://api.github.com/users/benjaminp/followers","following_url":"https://api.github.com/users/benjaminp/following{/other_user}","gists_url":"https://api.github.com/users/benjaminp/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminp/subscriptions","organizations_url":"https://api.github.com/users/benjaminp/orgs","repos_url":"https://api.github.com/users/benjaminp/repos","events_url":"https://api.github.com/users/benjaminp/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminp/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T17:59:14Z","updated_at":"2018-05-14T17:59:14Z","author_association":"CONTRIBUTOR","body":"I see. How do you decide what bytecode version to compile to then? The system jdk may be older than the embedded Bazel JDK."}}
{"actor":{"display_login":"benjaminp"}}