To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

fop.patch 747 Bytes
Newer Older
1
2
3
--- fop-2.2/fop-core/src/main/java/org/apache/fop/cli/Main.java	2017-04-03 21:23:57.000000000 +1000
+++ ../Main.java	2017-12-01 13:16:56.657538089 +1100
@@ -194,9 +194,9 @@
4
5
6
7
8
             // System.exit(0) called to close AWT/SVG-created threads, if any.
             // AWTRenderer closes with window shutdown, so exit() should not
             // be called here
-            if (!MimeConstants.MIME_FOP_AWT_PREVIEW.equals(outputFormat)) {
-                System.exit(0);
9
-            }
10
+            //if (!MimeConstants.MIME_FOP_AWT_PREVIEW.equals(outputFormat)) {
11
+            //    System.exit(0);
12
+            //}
13
14
15
         } catch (Exception e) {
             if (options != null) {
                 options.getLogger().error("Exception", e);