Package: h2database / 1.4.197-4

TestCrashAPI.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Markus Koschany <apo@debian.org>
Date: Sun, 18 Nov 2018 20:01:06 +0100
Subject: TestCrashAPI

Fix FTBFS with OpenJDK 11.

Bug-Debian: https://bugs.debian.org/913565
Forwarded: no
---
 src/test/org/h2/test/synth/TestCrashAPI.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/org/h2/test/synth/TestCrashAPI.java b/src/test/org/h2/test/synth/TestCrashAPI.java
index 4bab38e..ff6edb9 100644
--- a/src/test/org/h2/test/synth/TestCrashAPI.java
+++ b/src/test/org/h2/test/synth/TestCrashAPI.java
@@ -106,7 +106,7 @@ public void run() {
                 for (StackTraceElement e : mainThread.getStackTrace()) {
                     System.out.println(e.toString());
                 }
-                mainThread.stop(new SQLException("stop"));
+                mainThread.stop();
             }
         }
     }