Codebase list epubcheck / 7092bfa
Specify stack size to avoid java.lang.StackOverflowError (Closes: #999900) YOKOTA Hiroshi 2 years ago
2 changed file(s) with 35 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
1 Date: Wed, 9 Feb 2022 00:45:30 +0900
2 Subject: Specify stack size to avoid java.lang.StackOverflowError (Closes:
3 #999900)
4
5 Forwarded: not-needed
6 Bug-Debian: https://bugs.debian.org/999900
7
8 i386 platform uses smaller stack size.
9 This breaks epubcheck on large ePub.
10
11 Add "-Xss1024k" to use 1024kb stack.
12
13 "jarwrapper" accepts "Debian-Java-Parameters" property in JAR manifest to
14 add own Java run-time options.
15
16 See also:
17 https://github.com/w3c/epubcheck/wiki/Running#javalangstackoverflowerror
18 ---
19 pom.xml | 1 +
20 1 file changed, 1 insertion(+)
21
22 diff --git a/pom.xml b/pom.xml
23 index 131e424..66f48e0 100644
24 --- a/pom.xml
25 +++ b/pom.xml
26 @@ -367,6 +367,7 @@
27 <manifestEntries>
28 <project-url>${project.url}</project-url>
29 <scm-location>${project.scm.developerConnection}</scm-location>
30 + <Debian-Java-Parameters>-Xss1024k</Debian-Java-Parameters>
31 </manifestEntries>
32 </archive>
33 </configuration>
00 classpath.patch
11 remove_deps.patch
2 0003-Specify-stack-size-to-avoid-java.lang.StackOverflowE.patch