Debian Codegraph @

debian/patches/04-reproducible-javadoc.patch

raw symbols SCIP
1 Fromscip-debian debian jameica-h2database 1.4.199-1 jameica-h2database/patches/`04-reproducible-javadoc.patch`#From.: Emmanuel Bourg <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian jameica-h2database 1.4.199-1 jameica-h2database/patches/`04-reproducible-javadoc.patch`#Date.: Mon, 17 Jun 2024 22:19:01 +0200
3 Subjectscip-debian debian jameica-h2database 1.4.199-1 jameica-h2database/patches/`04-reproducible-javadoc.patch`#Subject.: Set the locale when generating the Javadoc to make the API
4 documentation reproducible
5
6 Forwarded: no
7 ---
8 src/tools/org/h2/build/BuildBase.java | 4 ++++
9 1 file changed, 4 insertions(+)
10
11 diff --git a/src/tools/org/h2/build/BuildBase.javascip-debian debian jameica-h2database 1.4.199-1 jameica-h2database/upstream/`src/tools/org/h2/build/BuildBase.java`: b/src/tools/org/h2/build/BuildBase.javascip-debian debian jameica-h2database 1.4.199-1 jameica-h2database/upstream/`src/tools/org/h2/build/BuildBase.java`:
12 index fc64388..ff610e8 100644
13 --- a/src/tools/org/h2/build/BuildBase.java
14 +++ b/src/tools/org/h2/build/BuildBase.java
15 @@ -522,6 +522,10 @@ public void close() throws IOException {
16 * @param args the command line arguments to pass
17 */
18 protected void javadoc(String...args) {
19 + StringList argumentList = args(args);
20 + argumentList.addAll(0, Arrays.asList("-locale", "en", "-encoding", "UTF-8"));
21 + args = argumentList.array();
22 +
23 int result;
24 PrintStream old = System.out;
25 try {