This is an automated email from the ASF dual-hosted git repository.
joshfischer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new ed42bfd Support javadoc of jdk11 (#3649)
ed42bfd is described below
commit ed42bfdaaba8c64ac98ebc7e3c5af3267f6ddb21
Author: choi se <[email protected]>
AuthorDate: Sun Dec 13 07:57:51 2020 +0900
Support javadoc of jdk11 (#3649)
Co-authored-by: thinker0 <[email protected]>
---
tools/rules/javadoc.bzl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/rules/javadoc.bzl b/tools/rules/javadoc.bzl
index 992e7b4..0dd7284 100644
--- a/tools/rules/javadoc.bzl
+++ b/tools/rules/javadoc.bzl
@@ -20,7 +20,7 @@ def _impl(ctx):
transitive_jar_paths = [j.path for j in transitive_jar_set.to_list()]
dir = ctx.outputs.zip.path + ".dir"
source = ctx.outputs.zip.path + ".source"
- external_docs = ["http://docs.oracle.com/javase/8/docs/api"] +
ctx.attr.external_docs
+ external_docs = ["https://docs.oracle.com/en/java/javase/11/docs/api"] +
ctx.attr.external_docs
cmd = [
"rm -rf %s" % source,
"mkdir %s" % source,
@@ -36,7 +36,8 @@ def _impl(ctx):
"-notimestamp",
"-quiet",
"-windowtitle '%s'" % ctx.attr.title,
- " ".join(["-link %s" % url for url in external_docs]),
+ "-source 11",
+ " ".join(["-link '%s'" % url for url in external_docs]),
"-sourcepath %s" % source,
"-subpackages ",
":".join(ctx.attr.pkgs),