Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
java-9-openjdk
disable-doclint-by-default.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disable-doclint-by-default.patch of Package java-9-openjdk
--- jdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/DocEnv.java 2017-08-31 16:48:25.203509479 +0200 +++ jdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/DocEnv.java 2017-09-11 08:14:00.112593069 +0200 @@ -839,7 +839,7 @@ } if (!msgOptionSeen) { - doclintOpts.add(DocLint.XMSGS_OPTION); + return; } String sep = ""; --- jdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java +++ jdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java @@ -125,7 +125,7 @@ public class WorkArounds { } if (!msgOptionSeen) { - doclintOpts.add(DocLint.XMSGS_OPTION); + return; } String sep = ""; --- jdk9/langtools/test/jdk/javadoc/tool/doclint/DocLintTest.java 2017-09-11 08:23:01.238847060 +0200 +++ jdk9/langtools/test/jdk/javadoc/tool/doclint/DocLintTest.java 2017-09-11 08:04:53.274011987 +0200 @@ -146,12 +146,12 @@ files = Arrays.asList(new TestJFO("Test.java", code)); test(Collections.<String>emptyList(), - Main.Result.ERROR, - EnumSet.of(Message.DL_ERR9A, Message.DL_WRN12A)); + Main.Result.OK, + EnumSet.of(Message.JD_WRN10, Message.JD_WRN13)); test(Arrays.asList(rawDiags), - Main.Result.ERROR, - EnumSet.of(Message.DL_ERR9, Message.DL_WRN12)); + Main.Result.OK, + EnumSet.of(Message.JD_WRN10, Message.JD_WRN13)); // test(Arrays.asList("-Xdoclint:none"), // Main.Result.OK, @@ -174,8 +174,8 @@ EnumSet.of(Message.DL_WRN12)); test(Arrays.asList(rawDiags, "-private"), - Main.Result.ERROR, - EnumSet.of(Message.DL_ERR6, Message.DL_ERR9, Message.DL_WRN12)); + Main.Result.OK, + EnumSet.of(Message.JD_WRN10, Message.JD_WRN13)); test(Arrays.asList(rawDiags, "-Xdoclint:syntax", "-private"), Main.Result.ERROR,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor