Commit 11dcfae2 authored by Emmanuel Bourg's avatar Emmanuel Bourg

Worked around a javadoc bug in Java 10 causing an IllegalArgumentException (Closes: #905139)

parent 99467ca4
......@@ -6,6 +6,8 @@ apache-log4j2 (2.11.1-1) UNRELEASED; urgency=medium
- Build the new log4j-core-java9 module
- Build the mongodb3 module and ignore the mongodb2 one
- Ignore the new log4j-jdbc-dbcp2, log4j-jpa and log4j-slf4j18-impl modules
* Worked around a javadoc bug in Java 10 causing an IllegalArgumentException
(Closes: #905139)
* Standards-Version updated to 4.1.5
* Use salsa.debian.org Vcs-* URLs
......
Description: Workaround for a javadoc bug in Java 10 triggering an IllegalArgumentException
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/tools/picocli/CommandLine.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/tools/picocli/CommandLine.java
@@ -2814,7 +2814,7 @@
*/
public static class Help {
/** Constant String holding the default program name: {@value} */
- protected static final String DEFAULT_COMMAND_NAME = "<main class>";
+ protected static final String DEFAULT_COMMAND_NAME = new String("<main class>");
/** Constant String holding the default string that separates options from option parameters: {@value} */
protected static final String DEFAULT_SEPARATOR = "=";
01-disable-kafka-appender.patch
03-mongodb-compatibility.patch
05-fix-javadoc-errors.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment