Accepting request 963173 from Java:Factory

try to disable the doclint for real

OBS-URL: https://build.opensuse.org/request/show/963173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-17-openjdk?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2022-03-20 19:55:27 +00:00 committed by Git OBS Bridge
commit 2265e29ca4
2 changed files with 22 additions and 4 deletions

View File

@ -1,6 +1,17 @@
--- jdk15/test/langtools/jdk/javadoc/tool/doclint/DocLintTest.java 2020-03-11 22:25:18.000000000 +0100 --- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java
+++ jdk15/test/langtools/jdk/javadoc/tool/doclint/DocLintTest.java 2020-03-17 19:11:23.870026518 +0100 +++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java
@@ -155,12 +155,12 @@ @@ -767,7 +767,7 @@ public abstract class BaseConfiguration {
}
} else {
// no -Xmsgs options of any kind, use default
- doclintOpts.add(DocLint.XMSGS_OPTION);
+ return;
}
if (!customTagNames.isEmpty()) {
--- a/test/langtools/jdk/javadoc/tool/doclint/DocLintTest.java
+++ b/test/langtools/jdk/javadoc/tool/doclint/DocLintTest.java
@@ -155,12 +155,12 @@ public class DocLintTest {
files = List.of(new TestJFO("Test.java", code)); files = List.of(new TestJFO("Test.java", code));
test(List.of(htmlVersion), test(List.of(htmlVersion),
@ -17,7 +28,7 @@
// test(List.of("-Xdoclint:none"), // test(List.of("-Xdoclint:none"),
// Main.Result.OK, // Main.Result.OK,
@@ -183,8 +183,8 @@ @@ -183,8 +183,8 @@ public class DocLintTest {
EnumSet.of(Message.DL_WRN12)); EnumSet.of(Message.DL_WRN12));
test(List.of(htmlVersion, rawDiags, "-private"), test(List.of(htmlVersion, rawDiags, "-private"),

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 20 01:08:12 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* disable-doclint-by-default.patch
+ try actually disable the doclint by default
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 4 07:07:23 UTC 2022 - Fridrich Strba <fstrba@suse.com> Fri Feb 4 07:07:23 UTC 2022 - Fridrich Strba <fstrba@suse.com>