Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK-8250768: javac should be adapted to changes in JEP 12 #703

Closed
wants to merge 59 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
0694db0
8250768: a prototype of updates for JEP 12.
Sep 3, 2020
b9dbff5
Updates to the preview javadoc appearance.
Sep 3, 2020
70286c0
Experimenting with UI for preview links.
Sep 8, 2020
637b8c3
Experimenting with UI for preview links.
Sep 9, 2020
7ffc68f
Merging master into JDK-8250768
Sep 10, 2020
df6db2e
More experiments on Preview stuff in javadoc.
Sep 10, 2020
d27c4dc
More updates to the javadoc Preview UI.
Sep 15, 2020
00e2b94
Merge branch 'master' into JDK-8250768
Sep 16, 2020
34f4355
Merge branch 'master' into JDK-8250768
Sep 21, 2020
82f1c3a
More updateds to the preview javadoc appearance.
Sep 23, 2020
976755d
Merging master into JDK-8250768
Oct 2, 2020
d88fdd4
More updates to javadoc appearance
Oct 5, 2020
26a2280
Merging master into JDK-8250768
Oct 7, 2020
1b9a052
A post-merge fix.
Oct 7, 2020
7cb5085
Cleaning up preview in javadoc.
Oct 13, 2020
79b89dd
Fixing tests.
Oct 14, 2020
1425c23
More cleanup.
Oct 14, 2020
ca11180
Cleaning up whitespaces.
Oct 14, 2020
6edf97a
Merge branch 'master' into JDK-8250768
Oct 14, 2020
26dcc5b
Post-merge fix.
Oct 14, 2020
6ba11d6
Updating build.
Oct 14, 2020
994cc72
Adding forgotten files.
Oct 15, 2020
ca78e89
Fixing tests.
Oct 15, 2020
a99bfe3
Merging master into JDK-8250768
Oct 15, 2020
42b5add
No, jdk.incubator.vector does not need jdk.internal package.
Oct 15, 2020
2d179d6
There is not jdk.internal package anymore
Oct 15, 2020
d23d55b
The Preview taglet is not needed anymore.
Oct 16, 2020
c50d5ec
Various cleanup.
Oct 16, 2020
efb37a9
Fixing tests.
Oct 16, 2020
9ce4b0a
Reflecting review comments.
Oct 19, 2020
30a9695
Merge branch 'master' into JDK-8250768
Oct 20, 2020
2b625f5
Using unique sections for preview warning sections, as suggested.
Oct 20, 2020
da4d41e
Fixing tests.
Oct 20, 2020
49b720d
More fixing tests.
Oct 20, 2020
be1d865
Merge branch 'JDK-8250768-dev' of https://github.com/lahodaj/jdk into…
Oct 20, 2020
34169e0
Reflecting review comments.
Oct 23, 2020
caa4fd3
Using a more correct way to get URLs.
Oct 23, 2020
461e7d1
Removing unnecessary cast.
Oct 23, 2020
deda85d
Merge branch 'master' into JDK-8250768
Oct 26, 2020
e238784
Reflecting review comments.
Oct 29, 2020
67e18e4
Merging master into JDK-8250768
Oct 29, 2020
35f2a78
Finalizing removal of record preview hooks.
Oct 29, 2020
cd4741e
Fixing tests.
Oct 29, 2020
d76eb29
Updating tests after records are a final feature.
Oct 29, 2020
a56fd33
Merging master into JDK-8250768.
Nov 2, 2020
2e40390
Removing trailing whitespace.
Nov 2, 2020
743f516
Reflecting review comments.
Nov 4, 2020
afba66a
Merging master into JDK-8250768-dev4
Nov 4, 2020
e4b0282
Cleanup - removing unnecessary code.
Nov 4, 2020
b9e1739
Removing unnecessary property keys.
Nov 5, 2020
3d55f90
Merging master into JDK-8250768
Nov 5, 2020
370031f
Removing obsolette @PreviewFeature.
Nov 5, 2020
097ae3c
Fixing typo.
Nov 5, 2020
61264fe
Fixing navigator for the PREVIEW page.
Nov 6, 2020
0c1c4d5
Merging recent master changes into JDK-8250768
Dec 8, 2020
4ccb150
Merging master into JDK-8250768
Jan 7, 2021
a8046dd
Fixing tests after a merge.
Jan 7, 2021
56371c4
Updating copyright years.
Jan 8, 2021
4f65495
Merging master into JDK-8250768
Jan 8, 2021
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -296,7 +296,7 @@ private void addMainNavLinks(Content tree) {
}
if (documentedPage == PageMode.PREVIEW) {
addActivePageLink(tree, contents.previewLabel,
configuration.conditionalPages.contains(HtmlConfiguration.ConditionalPage.DEPRECATED));
configuration.conditionalPages.contains(HtmlConfiguration.ConditionalPage.PREVIEW));
} else {
addPreviewLink(tree);
}
@@ -115,6 +115,7 @@ private String getHeaderKey(SummaryElementKind kind) {
};
}

private final PageMode pageMode;
private final String description;
private final Content headContent;
private final String titleKey;
@@ -134,6 +135,7 @@ public SummaryListWriter(HtmlConfiguration configuration, DocPath filename,
PageMode pageMode, String description,
Content headContent, String titleKey) {
super(configuration, filename);
this.pageMode = pageMode;
this.description = description;
this.headContent = headContent;
this.titleKey = titleKey;
@@ -209,7 +211,7 @@ public Content getContentsList(L apisummary) {
public HtmlTree getHeader() {
String title = resources.getText(titleKey);
HtmlTree bodyTree = getBody(getWindowTitle(title));
bodyContents.setHeader(getHeader(PageMode.DEPRECATED));
bodyContents.setHeader(getHeader(pageMode));
return bodyTree;
}

ProTip! Use n and p to navigate between commits in a pull request.