Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a708d71ed5 | ||
|
|
48ce1fd27c | ||
|
|
56edf4acbe | ||
|
|
9eaf287180 | ||
|
|
d21fcbf409 | ||
|
|
52b8b1b081 | ||
|
|
66d685850a |
14 changed files with 2507 additions and 1 deletions
20
.gitignore
vendored
Normal file
20
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/abrt-java-connector-1.0.0-239a2a6.tar.gz
|
||||
/abrt-java-connector-1.0.1-6f22940.tar.gz
|
||||
/abrt-java-connector-1.0.2-3cc67c2.tar.gz
|
||||
/abrt-java-connector-1.0.3-872c1de.tar.gz
|
||||
/abrt-java-connector-1.0.4-e97c189.tar.gz
|
||||
/abrt-java-connector-1.0.5-9214372.tar.gz
|
||||
/abrt-java-connector-1.0.6-befb850.tar.gz
|
||||
/abrt-java-connector-1.0.7-873f82e.tar.gz
|
||||
/abrt-java-connector-1.0.8-39322b0.tar.gz
|
||||
/abrt-java-connector-1.0.9-c933894.tar.gz
|
||||
/abrt-java-connector-1.0.10-fdf80c5.tar.gz
|
||||
/abrt-java-connector-1.1.0-230b726.tar.gz
|
||||
/abrt-java-connector-1.1.1-cbd081a.tar.gz
|
||||
/abrt-java-connector-1.1.2-bef7e39.tar.gz
|
||||
/abrt-java-connector-1.1.3-4b329c7.tar.gz
|
||||
/abrt-java-connector-1.1.4-7b2a3a1.tar.gz
|
||||
/abrt-java-connector-1.1.5-bef7e39.tar.gz
|
||||
/1.1.5java-connector-1.1.5.tar.gz
|
||||
/abrt-java-connector-1.1.5.tar.gz
|
||||
/abrt-java-connector-1.2.0.tar.gz
|
||||
17
.packit.yml
Normal file
17
.packit.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
specfile_path: package/abrt-java-connector.spec
|
||||
synced_files:
|
||||
- .packit.yml
|
||||
- package/abrt-java-connector.spec
|
||||
upstream_package_name: abrt-java-connector
|
||||
upstream_project_url: https://github.com/abrt/abrt-java-connector
|
||||
downstream_package_name: abrt-java-connector
|
||||
jobs:
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
metadata:
|
||||
dist_git_branch: fedora-all
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
metadata:
|
||||
targets:
|
||||
- fedora-all
|
||||
321
0001-Adapt-to-different-exception-messages-in-Java-11.patch
Normal file
321
0001-Adapt-to-different-exception-messages-in-Java-11.patch
Normal file
|
|
@ -0,0 +1,321 @@
|
|||
From 9629e6cc1aa0ca2d04a387efb432d0daee0e4ec4 Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Wed, 10 Jun 2020 07:03:43 +0200
|
||||
Subject: [PATCH 1/8] Adapt to different exception messages in Java 11
|
||||
|
||||
Out-of-bounds exceptions now additionally spit out the length of the
|
||||
container.
|
||||
---
|
||||
test/outputs/Linux-aarch64/run_test.log.in | 2 +-
|
||||
test/outputs/Linux-aarch64/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/Linux-armv7l/run_test.log.in | 2 +-
|
||||
test/outputs/Linux-armv7l/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/Linux-ppc/run_test.log.in | 2 +-
|
||||
test/outputs/Linux-ppc/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/Linux-ppc64/run_test.log.in | 2 +-
|
||||
test/outputs/Linux-ppc64/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/Linux-ppc64le/run_test.log.in | 2 +-
|
||||
test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/Linux-s390/run_test.log.in | 2 +-
|
||||
test/outputs/Linux-s390/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/Linux-s390x/run_test.log.in | 2 +-
|
||||
test/outputs/Linux-s390x/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/run.log.in | 2 +-
|
||||
test/outputs/run_inner.log.in | 2 +-
|
||||
test/outputs/run_jar.log.in | 2 +-
|
||||
test/outputs/run_package.log.in | 2 +-
|
||||
test/outputs/run_remote.log.in | 2 +-
|
||||
test/outputs/run_test.log.in | 2 +-
|
||||
test/outputs/run_test.log.in.java-1.7 | 2 +-
|
||||
test/outputs/run_three_times.log.in | 2 +-
|
||||
test/outputs/run_try_finally.log.in | 2 +-
|
||||
23 files changed, 23 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/test/outputs/Linux-aarch64/run_test.log.in b/test/outputs/Linux-aarch64/run_test.log.in
|
||||
index dbf5645..aa2b110 100644
|
||||
--- a/test/outputs/Linux-aarch64/run_test.log.in
|
||||
+++ b/test/outputs/Linux-aarch64/run_test.log.in
|
||||
@@ -98,7 +98,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-aarch64/run_test.log.in.java-1.7 b/test/outputs/Linux-aarch64/run_test.log.in.java-1.7
|
||||
index 6019976..906eb6f 100644
|
||||
--- a/test/outputs/Linux-aarch64/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/Linux-aarch64/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-armv7l/run_test.log.in b/test/outputs/Linux-armv7l/run_test.log.in
|
||||
index f5a3f65..4999cb2 100644
|
||||
--- a/test/outputs/Linux-armv7l/run_test.log.in
|
||||
+++ b/test/outputs/Linux-armv7l/run_test.log.in
|
||||
@@ -98,7 +98,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-armv7l/run_test.log.in.java-1.7 b/test/outputs/Linux-armv7l/run_test.log.in.java-1.7
|
||||
index 58a4b57..0f033ec 100644
|
||||
--- a/test/outputs/Linux-armv7l/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/Linux-armv7l/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-ppc/run_test.log.in b/test/outputs/Linux-ppc/run_test.log.in
|
||||
index 6927e4b..a097351 100644
|
||||
--- a/test/outputs/Linux-ppc/run_test.log.in
|
||||
+++ b/test/outputs/Linux-ppc/run_test.log.in
|
||||
@@ -95,7 +95,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-ppc/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc/run_test.log.in.java-1.7
|
||||
index 6019976..906eb6f 100644
|
||||
--- a/test/outputs/Linux-ppc/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/Linux-ppc/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-ppc64/run_test.log.in b/test/outputs/Linux-ppc64/run_test.log.in
|
||||
index f5a3f65..4999cb2 100644
|
||||
--- a/test/outputs/Linux-ppc64/run_test.log.in
|
||||
+++ b/test/outputs/Linux-ppc64/run_test.log.in
|
||||
@@ -98,7 +98,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-ppc64/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc64/run_test.log.in.java-1.7
|
||||
index 6019976..906eb6f 100644
|
||||
--- a/test/outputs/Linux-ppc64/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/Linux-ppc64/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-ppc64le/run_test.log.in b/test/outputs/Linux-ppc64le/run_test.log.in
|
||||
index f5a3f65..4999cb2 100644
|
||||
--- a/test/outputs/Linux-ppc64le/run_test.log.in
|
||||
+++ b/test/outputs/Linux-ppc64le/run_test.log.in
|
||||
@@ -98,7 +98,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7
|
||||
index 6019976..906eb6f 100644
|
||||
--- a/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-s390/run_test.log.in b/test/outputs/Linux-s390/run_test.log.in
|
||||
index 8cc10fd..3f6fd8c 100644
|
||||
--- a/test/outputs/Linux-s390/run_test.log.in
|
||||
+++ b/test/outputs/Linux-s390/run_test.log.in
|
||||
@@ -98,7 +98,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-s390/run_test.log.in.java-1.7 b/test/outputs/Linux-s390/run_test.log.in.java-1.7
|
||||
index 6019976..906eb6f 100644
|
||||
--- a/test/outputs/Linux-s390/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/Linux-s390/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-s390x/run_test.log.in b/test/outputs/Linux-s390x/run_test.log.in
|
||||
index f5a3f65..4999cb2 100644
|
||||
--- a/test/outputs/Linux-s390x/run_test.log.in
|
||||
+++ b/test/outputs/Linux-s390x/run_test.log.in
|
||||
@@ -98,7 +98,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/Linux-s390x/run_test.log.in.java-1.7 b/test/outputs/Linux-s390x/run_test.log.in.java-1.7
|
||||
index 6019976..906eb6f 100644
|
||||
--- a/test/outputs/Linux-s390x/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/Linux-s390x/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/run.log.in b/test/outputs/run.log.in
|
||||
index aa8b2c8..cabcfb2 100644
|
||||
--- a/test/outputs/run.log.in
|
||||
+++ b/test/outputs/run.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
diff --git a/test/outputs/run_inner.log.in b/test/outputs/run_inner.log.in
|
||||
index c1ef063..31f5bf9 100644
|
||||
--- a/test/outputs/run_inner.log.in
|
||||
+++ b/test/outputs/run_inner.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
diff --git a/test/outputs/run_jar.log.in b/test/outputs/run_jar.log.in
|
||||
index 85cf311..9d190e0 100644
|
||||
--- a/test/outputs/run_jar.log.in
|
||||
+++ b/test/outputs/run_jar.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:file:@CMAKE_BINARY_DIR@/test/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:file:@CMAKE_BINARY_DIR@/test/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:file:@CMAKE_BINARY_DIR@/test/JarTest.jar!/SimpleTest.class]
|
||||
diff --git a/test/outputs/run_package.log.in b/test/outputs/run_package.log.in
|
||||
index 7c7e76f..eb9ceb0 100644
|
||||
--- a/test/outputs/run_package.log.in
|
||||
+++ b/test/outputs/run_package.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method com.redhat.abrt.test.Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at com.redhat.abrt.test.Test.throwIndexOutOfBoundsException(Test.java:26) [file:@CMAKE_BINARY_DIR@/test/com/redhat/abrt/test/Test.class]
|
||||
at com.redhat.abrt.test.Test.catchIndexOutOfBoundsException(Test.java:49) [file:@CMAKE_BINARY_DIR@/test/com/redhat/abrt/test/Test.class]
|
||||
at com.redhat.abrt.test.Test.throwAndCatchAllExceptions(Test.java:63) [file:@CMAKE_BINARY_DIR@/test/com/redhat/abrt/test/Test.class]
|
||||
diff --git a/test/outputs/run_remote.log.in b/test/outputs/run_remote.log.in
|
||||
index aeb7890..31ef171 100644
|
||||
--- a/test/outputs/run_remote.log.in
|
||||
+++ b/test/outputs/run_remote.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
diff --git a/test/outputs/run_test.log.in b/test/outputs/run_test.log.in
|
||||
index dbf5645..aa2b110 100644
|
||||
--- a/test/outputs/run_test.log.in
|
||||
+++ b/test/outputs/run_test.log.in
|
||||
@@ -98,7 +98,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/run_test.log.in.java-1.7 b/test/outputs/run_test.log.in.java-1.7
|
||||
index a0d53d8..d79668c 100644
|
||||
--- a/test/outputs/run_test.log.in.java-1.7
|
||||
+++ b/test/outputs/run_test.log.in.java-1.7
|
||||
@@ -112,7 +112,7 @@ Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&ma
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/outputs/run_three_times.log.in b/test/outputs/run_three_times.log.in
|
||||
index aa8b2c8..cabcfb2 100644
|
||||
--- a/test/outputs/run_three_times.log.in
|
||||
+++ b/test/outputs/run_three_times.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
diff --git a/test/outputs/run_try_finally.log.in b/test/outputs/run_try_finally.log.in
|
||||
index 877f755..7340652 100644
|
||||
--- a/test/outputs/run_try_finally.log.in
|
||||
+++ b/test/outputs/run_try_finally.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
--
|
||||
2.26.2
|
||||
|
||||
1411
0002-Drop-unused-test-output-files.patch
Normal file
1411
0002-Drop-unused-test-output-files.patch
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,58 @@
|
|||
From e5ccad0135e7c07aeb329e76101e2b666202a7d7 Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Wed, 10 Jun 2020 07:23:52 +0200
|
||||
Subject: [PATCH 3/8] Add indices to out-of-bounds exception output files
|
||||
|
||||
Some things missed in 9629e6cc1aa0ca2d04a387efb432d0daee0e4ec4.
|
||||
---
|
||||
test/outputs/backtrace_not_reportable_1remote_class.log.in | 2 +-
|
||||
test/outputs/backtrace_not_reportable_3remote_classes.log.in | 2 +-
|
||||
test/outputs/run_remote_thread.log.in | 2 +-
|
||||
test/outputs/run_threads.log.in | 2 +-
|
||||
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/test/outputs/backtrace_not_reportable_1remote_class.log.in b/test/outputs/backtrace_not_reportable_1remote_class.log.in
|
||||
index 5555da5..4f5b3a9 100644
|
||||
--- a/test/outputs/backtrace_not_reportable_1remote_class.log.in
|
||||
+++ b/test/outputs/backtrace_not_reportable_1remote_class.log.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
>---at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
>---at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
>---at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
diff --git a/test/outputs/backtrace_not_reportable_3remote_classes.log.in b/test/outputs/backtrace_not_reportable_3remote_classes.log.in
|
||||
index 77fb989..4a32656 100644
|
||||
--- a/test/outputs/backtrace_not_reportable_3remote_classes.log.in
|
||||
+++ b/test/outputs/backtrace_not_reportable_3remote_classes.log.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
>---at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
>---at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:http://localhost:321/JarTest.jar!/SimpleTest.class]
|
||||
>---at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:http://localhost:4321/JarTest.jar!/SimpleTest.class]
|
||||
diff --git a/test/outputs/run_remote_thread.log.in b/test/outputs/run_remote_thread.log.in
|
||||
index ecca10e..a871ad0 100644
|
||||
--- a/test/outputs/run_remote_thread.log.in
|
||||
+++ b/test/outputs/run_remote_thread.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
diff --git a/test/outputs/run_threads.log.in b/test/outputs/run_threads.log.in
|
||||
index b9089b7..04c5b35 100644
|
||||
--- a/test/outputs/run_threads.log.in
|
||||
+++ b/test/outputs/run_threads.log.in
|
||||
@@ -1,5 +1,5 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "Thread-0" java.lang.ArrayIndexOutOfBoundsException: 42
|
||||
+Exception in thread "Thread-0" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [file:@CMAKE_BINARY_DIR@/test/SimpleTest.class]
|
||||
--
|
||||
2.26.2
|
||||
|
||||
33
0004-test-bad_class-Adapt-output-to-Java-11.patch
Normal file
33
0004-test-bad_class-Adapt-output-to-Java-11.patch
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
From 307e0d19d4c99dae16491fd288e915b0bb6522ac Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Wed, 10 Jun 2020 07:30:29 +0200
|
||||
Subject: [PATCH 4/8] test: bad_class: Adapt output to Java 11
|
||||
|
||||
---
|
||||
test/outputs/run_bad_class.log.in | 13 ++++++-------
|
||||
1 file changed, 6 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/test/outputs/run_bad_class.log.in b/test/outputs/run_bad_class.log.in
|
||||
index 2b58474..bdff081 100644
|
||||
--- a/test/outputs/run_bad_class.log.in
|
||||
+++ b/test/outputs/run_bad_class.log.in
|
||||
@@ -1,10 +1,9 @@
|
||||
-Uncaught exception java.lang.ClassNotFoundException in method java.lang.ClassLoader.loadClass()
|
||||
+Uncaught exception java.lang.ClassNotFoundException in method jdk.internal.loader.BuiltinClassLoader.loadClass()
|
||||
Exception in thread "main" java.lang.ClassNotFoundException: foobar
|
||||
- at java.net.URLClassLoader.findClass(URLClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URLClassLoader.class]
|
||||
- at java.lang.ClassLoader.loadClass(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
|
||||
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/misc/Launcher$AppClassLoader.class]
|
||||
- at java.lang.ClassLoader.loadClass(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
|
||||
- at java.lang.Class.forName0(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Class.class]
|
||||
- at java.lang.Class.forName(Class.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Class.class]
|
||||
+ at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:LINENO) [jrt:/java.base/jdk/internal/loader/BuiltinClassLoader.class]
|
||||
+ at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:LINENO) [jrt:/java.base/jdk/internal/loader/ClassLoaders$AppClassLoader.class]
|
||||
+ at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:LINENO) [jrt:/java.base/java/lang/ClassLoader.class]
|
||||
+ at java.base/java.lang.Class.forName0(Native Method) [jrt:/java.base/java/lang/Class.class]
|
||||
+ at java.base/java.lang.Class.forName(Class.java:LINENO) [jrt:/java.base/java/lang/Class.class]
|
||||
at BadClassTest.main(BadClassTest.java:13) [file:@CMAKE_BINARY_DIR@/test/BadClassTest.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/BadClassTest.class
|
||||
--
|
||||
2.26.2
|
||||
|
||||
228
0005-Adapt-more-test-ouput-to-Java-11.patch
Normal file
228
0005-Adapt-more-test-ouput-to-Java-11.patch
Normal file
|
|
@ -0,0 +1,228 @@
|
|||
From 4c60444a35303a243cd3b35a9d72e69afb54d809 Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Wed, 10 Jun 2020 08:32:39 +0200
|
||||
Subject: [PATCH 5/8] Adapt more test ouput to Java 11
|
||||
|
||||
Paths to runtime classes are no longer printed out, so we can simplify
|
||||
the driver magic.
|
||||
---
|
||||
test/outputs/run_test.log.in | 108 ++++++++++++++++++-----------------
|
||||
test/testdriver | 7 +--
|
||||
2 files changed, 56 insertions(+), 59 deletions(-)
|
||||
|
||||
diff --git a/test/outputs/run_test.log.in b/test/outputs/run_test.log.in
|
||||
index aa2b110..ae4a894 100644
|
||||
--- a/test/outputs/run_test.log.in
|
||||
+++ b/test/outputs/run_test.log.in
|
||||
@@ -1,98 +1,99 @@
|
||||
Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open0()
|
||||
Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
|
||||
- at java.io.FileInputStream.open0(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
||||
- at java.io.FileInputStream.open(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
||||
- at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
||||
+ at java.base/java.io.FileInputStream.open0(Native Method) [jrt:/java.base/java/io/FileInputStream.class]
|
||||
+ at java.base/java.io.FileInputStream.open(FileInputStream.java:LINENO) [jrt:/java.base/java/io/FileInputStream.class]
|
||||
+ at java.base/java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jrt:/java.base/java/io/FileInputStream.class]
|
||||
at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open0()
|
||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
||||
- at java.io.FileInputStream.open0(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
||||
- at java.io.FileInputStream.open(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
||||
- at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
||||
+ at java.base/java.io.FileInputStream.open0(Native Method) [jrt:/java.base/java/io/FileInputStream.class]
|
||||
+ at java.base/java.io.FileInputStream.open(FileInputStream.java:LINENO) [jrt:/java.base/java/io/FileInputStream.class]
|
||||
+ at java.base/java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jrt:/java.base/java/io/FileInputStream.class]
|
||||
at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open0()
|
||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
||||
- at java.io.FileOutputStream.open0(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
||||
- at java.io.FileOutputStream.open(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
||||
- at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
||||
- at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
||||
+ at java.base/java.io.FileOutputStream.open0(Native Method) [jrt:/java.base/java/io/FileOutputStream.class]
|
||||
+ at java.base/java.io.FileOutputStream.open(FileOutputStream.java:LINENO) [jrt:/java.base/java/io/FileOutputStream.class]
|
||||
+ at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jrt:/java.base/java/io/FileOutputStream.class]
|
||||
+ at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jrt:/java.base/java/io/FileOutputStream.class]
|
||||
at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.net.UnknownHostException in method java.net.Inet4AddressImpl.lookupAllHostAddr()
|
||||
Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
||||
- at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet4AddressImpl.class]
|
||||
- at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class]
|
||||
- at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
|
||||
- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
|
||||
- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
|
||||
- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
|
||||
- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
|
||||
- at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
|
||||
- at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
+ at java.base/java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) [jrt:/java.base/java/net/Inet4AddressImpl.class]
|
||||
+ at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:LINENO) [jrt:/java.base/java/net/InetAddress$PlatformNameService.class]
|
||||
+ at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jrt:/java.base/java/net/InetAddress.class]
|
||||
+ at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:LINENO) [jrt:/java.base/java/net/InetAddress$NameServiceAddresses.class]
|
||||
+ at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jrt:/java.base/java/net/InetAddress.class]
|
||||
+ at java.base/java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jrt:/java.base/java/net/InetAddress.class]
|
||||
+ at java.base/java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jrt:/java.base/java/net/InetAddress.class]
|
||||
+ at java.base/java.net.InetAddress.getByName(InetAddress.java:LINENO) [jrt:/java.base/java/net/InetAddress.class]
|
||||
+ at java.base/java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jrt:/java.base/java/net/InetSocketAddress.class]
|
||||
+ at java.base/java.net.Socket.<init>(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect()
|
||||
Exception in thread "main" java.net.UnknownHostException: xyzzy
|
||||
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
|
||||
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
|
||||
- at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
- at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
- at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
- at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
+ at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jrt:/java.base/java/net/AbstractPlainSocketImpl.class]
|
||||
+ at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jrt:/java.base/java/net/SocksSocketImpl.class]
|
||||
+ at java.base/java.net.Socket.connect(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
+ at java.base/java.net.Socket.connect(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
+ at java.base/java.net.Socket.<init>(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
+ at java.base/java.net.Socket.<init>(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.net.ConnectException in method java.net.PlainSocketImpl.socketConnect()
|
||||
Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused)
|
||||
- at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class]
|
||||
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
|
||||
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
|
||||
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
|
||||
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
|
||||
- at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
- at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
- at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
- at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
|
||||
+ at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) [jrt:/java.base/java/net/PlainSocketImpl.class]
|
||||
+ at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jrt:/java.base/java/net/AbstractPlainSocketImpl.class]
|
||||
+ at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jrt:/java.base/java/net/AbstractPlainSocketImpl.class]
|
||||
+ at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jrt:/java.base/java/net/AbstractPlainSocketImpl.class]
|
||||
+ at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jrt:/java.base/java/net/SocksSocketImpl.class]
|
||||
+ at java.base/java.net.Socket.connect(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
+ at java.base/java.net.Socket.connect(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
+ at java.base/java.net.Socket.<init>(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
+ at java.base/java.net.Socket.<init>(Socket.java:LINENO) [jrt:/java.base/java/net/Socket.class]
|
||||
at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong()
|
||||
Exception in thread "main" java.lang.NumberFormatException: null
|
||||
- at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
|
||||
- at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
|
||||
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
- at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
|
||||
+ at java.base/java.lang.Long.parseLong(Long.java:LINENO) [jrt:/java.base/java/lang/Long.class]
|
||||
+ at java.base/java.lang.Long.parseLong(Long.java:LINENO) [jrt:/java.base/java/lang/Long.class]
|
||||
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:LINENO) [jrt:/java.base/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jrt:/java.base/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
+ at java.base/java.net.URL.openStream(URL.java:LINENO) [jrt:/java.base/java/net/URL.class]
|
||||
at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0()
|
||||
Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_
|
||||
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
- at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
|
||||
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:LINENO) [jrt:/java.base/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jrt:/java.base/sun/net/www/protocol/http/HttpURLConnection.class]
|
||||
+ at java.base/java.net.URL.openStream(URL.java:LINENO) [jrt:/java.base/java/net/URL.class]
|
||||
at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.net.MalformedURLException in method java.net.URL.<init>()
|
||||
Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*()
|
||||
- at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
|
||||
- at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
|
||||
- at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
|
||||
+ at java.base/java.net.URL.<init>(URL.java:LINENO) [jrt:/java.base/java/net/URL.class]
|
||||
+ at java.base/java.net.URL.<init>(URL.java:LINENO) [jrt:/java.base/java/net/URL.class]
|
||||
+ at java.base/java.net.URL.<init>(URL.java:LINENO) [jrt:/java.base/java/net/URL.class]
|
||||
at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
@@ -104,9 +105,10 @@ Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 ou
|
||||
at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
-Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt()
|
||||
+Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.StringLatin1.charAt()
|
||||
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
|
||||
- at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class]
|
||||
+ at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:LINENO) [jrt:/java.base/java/lang/StringLatin1.class]
|
||||
+ at java.base/java.lang.String.charAt(String.java:LINENO) [jrt:/java.base/java/lang/String.class]
|
||||
at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
@@ -120,7 +122,7 @@ Exception in thread "main" java.lang.NullPointerException
|
||||
at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.ClassCastException in method Test.throwClassCastException()
|
||||
-Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
|
||||
+Exception in thread "main" java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap')
|
||||
at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
@@ -128,8 +130,8 @@ Exception in thread "main" java.lang.ClassCastException: java.lang.Integer canno
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0()
|
||||
Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy
|
||||
- at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
|
||||
- at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
|
||||
+ at java.base/java.lang.Runtime.load0(Runtime.java:LINENO) [jrt:/java.base/java/lang/Runtime.class]
|
||||
+ at java.base/java.lang.System.load(System.java:LINENO) [jrt:/java.base/java/lang/System.class]
|
||||
at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
@@ -137,9 +139,9 @@ Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary()
|
||||
Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path
|
||||
- at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
|
||||
- at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
|
||||
- at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
|
||||
+ at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jrt:/java.base/java/lang/ClassLoader.class]
|
||||
+ at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jrt:/java.base/java/lang/Runtime.class]
|
||||
+ at java.base/java.lang.System.loadLibrary(System.java:LINENO) [jrt:/java.base/java/lang/System.class]
|
||||
at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
diff --git a/test/testdriver b/test/testdriver
|
||||
index b02bc5c..ff71685 100644
|
||||
--- a/test/testdriver
|
||||
+++ b/test/testdriver
|
||||
@@ -29,12 +29,7 @@ else
|
||||
cp $4 $TMP_RESULT
|
||||
fi
|
||||
|
||||
-JAVA_RTLIB_PATH=`sed -n "s/^.*\(jar:file:\)\(.*\)\(\/rt.jar\!.*\).*$/\2/p" $TMP_RESULT | head -1`
|
||||
-
|
||||
-if [ -n "$JAVA_RTLIB_PATH" ]; then
|
||||
- sed -i "s,"$JAVA_RTLIB_PATH",JAVA_AND_SYSTEM_SPECIFIC_PATH," $TMP_RESULT
|
||||
- sed -i "s/\(\.java:\)[0-9]\+\() \[.*JAVA_AND_SYSTEM_SPECIFIC_PATH\)/\1LINENO\2/" $TMP_RESULT
|
||||
-fi
|
||||
+sed -i "s/\(\.java:\)[0-9]\+\() \[jrt:.*\]\)/\1LINENO\2/" $TMP_RESULT
|
||||
|
||||
diff -u $3 $TMP_RESULT
|
||||
EC=$?
|
||||
--
|
||||
2.26.2
|
||||
|
||||
80
0006-test-RemoteTest-Don-t-call-URLClassLoader.addURL.patch
Normal file
80
0006-test-RemoteTest-Don-t-call-URLClassLoader.addURL.patch
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
From e6cbfae1b59a4339275b88cfde8f7c3e22fdea75 Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Wed, 10 Jun 2020 09:06:10 +0200
|
||||
Subject: [PATCH 6/8] =?UTF-8?q?test:=20RemoteTest:=20Don=E2=80=99t=20call?=
|
||||
=?UTF-8?q?=20URLClassLoader.addURL()?=
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
It’s a protected method and some future version of Java will start
|
||||
restricting access via reflection, so let’s just use the legal way.
|
||||
---
|
||||
test/RemoteTest.java | 8 +++-----
|
||||
test/outputs/run_remote.log.in | 20 ++++++++++----------
|
||||
2 files changed, 13 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/test/RemoteTest.java b/test/RemoteTest.java
|
||||
index 040384f..e92e6f5 100644
|
||||
--- a/test/RemoteTest.java
|
||||
+++ b/test/RemoteTest.java
|
||||
@@ -83,19 +83,17 @@ public class RemoteTest {
|
||||
input.close();
|
||||
|
||||
try {
|
||||
- Method method = URLClassLoader.class.getDeclaredMethod("addURL", new Class[]{URL.class});
|
||||
- method.setAccessible(true);
|
||||
- method.invoke(ClassLoader.getSystemClassLoader(), new Object[]{remoteJarUrl});
|
||||
+ ClassLoader loader = URLClassLoader.newInstance(new URL[]{remoteJarUrl}, ClassLoader.getSystemClassLoader());
|
||||
/* Loaded these classes into cache. */
|
||||
final String needed[] = {"SimpleTest", "ThreadUncaughtException", "ThreadCaughtException"};
|
||||
for (String requiredClass : needed) {
|
||||
- if (null == Class.forName(requiredClass)) {
|
||||
+ if (null == Class.forName(requiredClass, true, loader)) {
|
||||
System.out.println("Cannot get required class: " + requiredClass);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
- testClassInstance = Class.forName(testClassName);
|
||||
+ testClassInstance = Class.forName(testClassName, true, loader);
|
||||
}
|
||||
finally {
|
||||
server.stop(0);
|
||||
diff --git a/test/outputs/run_remote.log.in b/test/outputs/run_remote.log.in
|
||||
index 31ef171..00bf701 100644
|
||||
--- a/test/outputs/run_remote.log.in
|
||||
+++ b/test/outputs/run_remote.log.in
|
||||
@@ -3,19 +3,19 @@ Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 42 ou
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/reflect/NativeMethodAccessorImpl.class]
|
||||
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/reflect/NativeMethodAccessorImpl.class]
|
||||
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/reflect/DelegatingMethodAccessorImpl.class]
|
||||
- at java.lang.reflect.Method.invoke(Method.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/reflect/Method.class]
|
||||
- at RemoteTest.main(RemoteTest.java:110) [file:@CMAKE_BINARY_DIR@/test/RemoteTest.class]
|
||||
+ at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jrt:/java.base/jdk/internal/reflect/NativeMethodAccessorImpl.class]
|
||||
+ at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:LINENO) [jrt:/java.base/jdk/internal/reflect/NativeMethodAccessorImpl.class]
|
||||
+ at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:LINENO) [jrt:/java.base/jdk/internal/reflect/DelegatingMethodAccessorImpl.class]
|
||||
+ at java.base/java.lang.reflect.Method.invoke(Method.java:LINENO) [jrt:/java.base/java/lang/reflect/Method.class]
|
||||
+ at RemoteTest.main(RemoteTest.java:108) [file:@CMAKE_BINARY_DIR@/test/RemoteTest.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/RemoteTest.class
|
||||
Uncaught exception java.lang.NullPointerException in method SimpleTest.throwNullPointerException()
|
||||
Exception in thread "main" java.lang.NullPointerException
|
||||
at SimpleTest.throwNullPointerException(SimpleTest.java:36) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.throwAndDontCatchException(SimpleTest.java:71) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/reflect/NativeMethodAccessorImpl.class]
|
||||
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/reflect/NativeMethodAccessorImpl.class]
|
||||
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/reflect/DelegatingMethodAccessorImpl.class]
|
||||
- at java.lang.reflect.Method.invoke(Method.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/reflect/Method.class]
|
||||
- at RemoteTest.main(RemoteTest.java:112) [file:@CMAKE_BINARY_DIR@/test/RemoteTest.class]
|
||||
+ at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jrt:/java.base/jdk/internal/reflect/NativeMethodAccessorImpl.class]
|
||||
+ at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:LINENO) [jrt:/java.base/jdk/internal/reflect/NativeMethodAccessorImpl.class]
|
||||
+ at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:LINENO) [jrt:/java.base/jdk/internal/reflect/DelegatingMethodAccessorImpl.class]
|
||||
+ at java.base/java.lang.reflect.Method.invoke(Method.java:LINENO) [jrt:/java.base/java/lang/reflect/Method.class]
|
||||
+ at RemoteTest.main(RemoteTest.java:110) [file:@CMAKE_BINARY_DIR@/test/RemoteTest.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/RemoteTest.class
|
||||
--
|
||||
2.26.2
|
||||
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
From c33aab10b138056be8ba7ea87f9d8ccd69bbc113 Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Wed, 10 Jun 2020 09:08:57 +0200
|
||||
Subject: [PATCH 7/8] test: output: run_remote_thread: Adjust thread indices
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
I don’t know, seems that now the code starts only three, instead of
|
||||
five, as intended.
|
||||
---
|
||||
test/outputs/run_remote_thread.log.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/test/outputs/run_remote_thread.log.in b/test/outputs/run_remote_thread.log.in
|
||||
index a871ad0..4acfea7 100644
|
||||
--- a/test/outputs/run_remote_thread.log.in
|
||||
+++ b/test/outputs/run_remote_thread.log.in
|
||||
@@ -1,12 +1,12 @@
|
||||
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
|
||||
-Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
+Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
|
||||
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at ThreadCaughtException.run(ThreadCaughtException.java:7) [jar:http://localhost:54321/JarTest.jar!/ThreadCaughtException.class]
|
||||
executable: http://localhost:54321/JarTest.jar
|
||||
Uncaught exception java.lang.NullPointerException in method SimpleTest.throwNullPointerException()
|
||||
-Exception in thread "Thread-4" java.lang.NullPointerException
|
||||
+Exception in thread "Thread-2" java.lang.NullPointerException
|
||||
at SimpleTest.throwNullPointerException(SimpleTest.java:36) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at SimpleTest.throwAndDontCatchException(SimpleTest.java:71) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
|
||||
at ThreadUncaughtException.run(ThreadUncaughtException.java:7) [jar:http://localhost:54321/JarTest.jar!/ThreadUncaughtException.class]
|
||||
--
|
||||
2.26.2
|
||||
|
||||
43
0008-test-Replace-search-paths-in-exceptions.patch
Normal file
43
0008-test-Replace-search-paths-in-exceptions.patch
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
From 306a56211556a5683f9a2d5a1356c41ab8d27200 Mon Sep 17 00:00:00 2001
|
||||
From: Ernestas Kulik <ekulik@redhat.com>
|
||||
Date: Wed, 17 Jun 2020 09:05:13 +0200
|
||||
Subject: [PATCH 8/8] test: Replace search paths in exceptions
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Those we cannot predict ahead of time, so let’s use some substitution
|
||||
magic.
|
||||
---
|
||||
test/outputs/run_test.log.in | 2 +-
|
||||
test/testdriver | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/outputs/run_test.log.in b/test/outputs/run_test.log.in
|
||||
index ae4a894..f3898fd 100644
|
||||
--- a/test/outputs/run_test.log.in
|
||||
+++ b/test/outputs/run_test.log.in
|
||||
@@ -138,7 +138,7 @@ Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute
|
||||
at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
||||
executable: @CMAKE_BINARY_DIR@/test/Test.class
|
||||
Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary()
|
||||
-Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path
|
||||
+Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path: [PATHS]
|
||||
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jrt:/java.base/java/lang/ClassLoader.class]
|
||||
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jrt:/java.base/java/lang/Runtime.class]
|
||||
at java.base/java.lang.System.loadLibrary(System.java:LINENO) [jrt:/java.base/java/lang/System.class]
|
||||
diff --git a/test/testdriver b/test/testdriver
|
||||
index ff71685..29aa44f 100644
|
||||
--- a/test/testdriver
|
||||
+++ b/test/testdriver
|
||||
@@ -30,6 +30,7 @@ else
|
||||
fi
|
||||
|
||||
sed -i "s/\(\.java:\)[0-9]\+\() \[jrt:.*\]\)/\1LINENO\2/" $TMP_RESULT
|
||||
+sed -i 's/\(no .* in java\.library\.path: \)\[.*\]/\1[PATHS]/' $TMP_RESULT
|
||||
|
||||
diff -u $3 $TMP_RESULT
|
||||
EC=$?
|
||||
--
|
||||
2.26.2
|
||||
|
||||
3
README.packit
Normal file
3
README.packit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.15.1.dev2+g9e55e2c.
|
||||
256
abrt-java-connector.spec
Normal file
256
abrt-java-connector.spec
Normal file
|
|
@ -0,0 +1,256 @@
|
|||
%global snapshot 0
|
||||
%global commit bef7e39ce5fdc4a8a620d56be186d4463ed761a8
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: abrt-java-connector
|
||||
Version: 1.2.0
|
||||
Release: 7%{?dist}
|
||||
Summary: JNI Agent library converting Java exceptions to ABRT problems
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2+
|
||||
URL: https://github.com/abrt/abrt-java-connector
|
||||
%if 0%{?snapshot}
|
||||
Source0: %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
||||
%else
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(abrt) >= 2.14.1
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gettext
|
||||
# Tests have been redone to work under Java 11, but they are not backwards-compatible.
|
||||
BuildRequires: java-11-devel
|
||||
BuildRequires: pkgconfig(libreport) >= 2.14.0
|
||||
BuildRequires: rpm-devel
|
||||
BuildRequires: satyr-devel
|
||||
BuildRequires: systemd-devel
|
||||
|
||||
Requires: abrt
|
||||
|
||||
%description
|
||||
JNI library providing an agent capable to process both caught and uncaught
|
||||
exceptions and transform them to ABRT problems.
|
||||
|
||||
%package container
|
||||
Summary: JNI Agent library converting Java exceptions to ABRT problems (minimal version)
|
||||
Requires: container-exception-logger
|
||||
conflicts: %{name}
|
||||
|
||||
%description container
|
||||
JNI library providing an agent capable to process both caught and uncaught
|
||||
exceptions and transform them to ABRT problems
|
||||
|
||||
This package contains only minimal set of files needed for container exception
|
||||
logging.
|
||||
|
||||
%prep
|
||||
%if 0%{?snapshot}
|
||||
%autosetup -n %{name}-%{commit}
|
||||
%else
|
||||
%autosetup
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%doc README AUTHORS
|
||||
%license LICENSE
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_java.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_java.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/abrt/plugins/java.conf
|
||||
%{_bindir}/abrt-action-analyze-java
|
||||
%{_mandir}/man1/abrt-action-analyze-java.1*
|
||||
%{_mandir}/man5/java_event.conf.5*
|
||||
%{_mandir}/man5/bugzilla_format_java.conf.5*
|
||||
%{_mandir}/man5/bugzilla_formatdup_java.conf.5*
|
||||
%{_datadir}/abrt/conf.d/plugins/java.conf
|
||||
|
||||
# Applications may use a single subdirectory under/usr/lib.
|
||||
# http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE22
|
||||
#
|
||||
# Java does not support multilib.
|
||||
# https://fedorahosted.org/fesco/ticket/961
|
||||
%{_prefix}/lib/abrt-java-connector
|
||||
|
||||
%files container
|
||||
%doc README AUTHORS
|
||||
%license LICENSE
|
||||
# Applications may use a single subdirectory under/usr/lib.
|
||||
# http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE22
|
||||
#
|
||||
# Java does not support multilib.
|
||||
# https://fedorahosted.org/fesco/ticket/961
|
||||
%{_prefix}/lib/abrt-java-connector
|
||||
|
||||
|
||||
%check
|
||||
make test || {
|
||||
cat Testing/Temporary/LastTest.log
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Sep 14 2020 Michal Fabik <mfabik@redhat.com> 1.2.0-5
|
||||
- Bump release to rebuild reportd
|
||||
|
||||
* Wed Sep 09 2020 Michal Fabik <mfabik@redhat.com> 1.2.0-4
|
||||
- Bump release to rebuild gnome-abrt
|
||||
|
||||
* Wed Sep 02 2020 Michal Fabik <mfabik@redhat.com> 1.2.0-3
|
||||
- Bump release to rebuild in new side tag
|
||||
|
||||
* Wed Aug 26 2020 Michal Fabik <mfabik@redhat.com> 1.2.0-2
|
||||
- Bump release to rebuild in new side tag
|
||||
|
||||
* Wed Aug 26 2020 rebase-helper <rebase-helper@localhost.local> - 1.2.0-1
|
||||
- new upstream release: 1.2.0
|
||||
|
||||
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-8
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 22 2020 - Ernestas Kulik <ekulik@redhat.com> - 1.1.5-6
|
||||
- Fix non-srcdir CMake build
|
||||
|
||||
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.1.5-5
|
||||
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||
|
||||
* Wed Jun 17 2020 Ernestas Kulik <ekulik@redhat.com> - 1.1.5-4
|
||||
- Add more patches for Java 11 compatibility
|
||||
|
||||
* Wed Jun 10 2020 Ernestas Kulik <ekulik@redhat.com> - 1.1.5-3
|
||||
- Add patch for Java 11 compatibility
|
||||
|
||||
* Wed May 13 2020 Michal Fabik <mfabik@redhat.com> - 1.1.5-1
|
||||
- new upstream release: 1.1.5
|
||||
|
||||
* Wed May 13 2020 Ernestas Kulik <ekulik@redhat.com> - 1.1.5-1
|
||||
- new upstream release: 1.1.5
|
||||
|
||||
* Tue May 12 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 1.1.5-1
|
||||
- new upstream release: 1.1.5
|
||||
|
||||
* Fri Feb 07 2020 Ernestas Kulik <ekulik@redhat.com> - 1.1.4-1
|
||||
- Fix build failure with GCC 10
|
||||
|
||||
* Fri Feb 07 2020 Ernestas Kulik <ekulik@redhat.com> - 1.1.3-1
|
||||
- Fix stack traces not being logged in journald
|
||||
|
||||
* Fri Feb 07 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.2-4
|
||||
- Rebuild for satyr 0.30
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Tue Jun 11 2019 Martin Kutlak <mkutlak@redhat.com> - 1.1.2-1
|
||||
- Fix gcc string truncation warning for strncpy
|
||||
- Replace legacy backticked with $() notation
|
||||
|
||||
* Mon Jun 10 22:13:17 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.1-5
|
||||
- Rebuild for RPM 4.15
|
||||
|
||||
* Mon Jun 10 15:41:59 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.1-4
|
||||
- Rebuild for RPM 4.15
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed May 16 2018 Matej Habrnal <mhabrnal@redhat.com> - 1.1.1-1
|
||||
- Add possibility report reports problems to CEL
|
||||
- Upate test results
|
||||
- Change log() to log_warning()
|
||||
- Correct includes for ABRT
|
||||
- Make the dependency on systemd optional
|
||||
|
||||
* Wed Oct 29 2014 Jakub Filak <jfilak@redhat.com> - 1.1.0-1
|
||||
- Support java-1.8-openjdk
|
||||
- Install the library to /usr/lib/abrt-java-connector on all arches
|
||||
|
||||
* Fri Apr 4 2014 Jakub Filak <jfilak@redhat.com> - 1.0.10-1
|
||||
- Temporarily ignore failures of reporter-ureport until ABRT start using FAF2
|
||||
- Prevent users from reporting low quality stack traces
|
||||
|
||||
* Tue Mar 18 2014 Jakub Filak <jfilak@redhat.com> - 1.0.9-1
|
||||
- Make the agent configurable via a configuration file
|
||||
- Include custom debug info in bug reports
|
||||
- Make the detection of 'executable' working with JAR files
|
||||
|
||||
* Wed Jan 22 2014 Jakub Filak <jfilak@redhat.com> - 1.0.8-1
|
||||
- Do not report exceptions caught in a native method
|
||||
- Mark stack traces with 3rd party classes as not-reportable
|
||||
- Calculate 'duphash' & 'uuid' in satyr
|
||||
- Use the main class URL for 'executable'
|
||||
- Do not ship own reporting workflow definitions
|
||||
- Code optimizations
|
||||
|
||||
* Fri Jan 10 2014 Jakub Filak <jfilak@redhat.com> - 1.0.7-1
|
||||
- Use the last frame class path for executable
|
||||
- Gracefully handle JVMTI errors
|
||||
- Add an abstract to README
|
||||
- Add support for journald and syslog
|
||||
- Make log output disabled by default
|
||||
- Add support for changing log directory
|
||||
- Fix a race condition causing a crash of JVM
|
||||
|
||||
* Tue Oct 01 2013 Jakub Filak <jfilak@redhat.com> - 1.0.6-1
|
||||
- Fix a deadlock in GC start callback
|
||||
- Disable experimental features in production releases
|
||||
|
||||
* Tue Jul 30 2013 Jakub Filak <jfilak@redhat.com> - 1.0.5-1
|
||||
- Provide a proper configuration for libreport
|
||||
|
||||
* Thu Jul 18 2013 Jakub Filak <jfilak@redhat.com> - 1.0.4-1
|
||||
- Stop creating an empty log file
|
||||
|
||||
* Tue Jul 16 2013 Jakub Filak <jfilak@redhat.com> - 1.0.3-1
|
||||
- Fix tests on arm
|
||||
|
||||
* Tue Jul 09 2013 Jakub Filak <jfilak@redhat.com> - 1.0.2-1
|
||||
- Do not crash on empty command line options
|
||||
|
||||
* Mon Jul 08 2013 Jakub Filak <jfilak@redhat.com> - 1.0.1-1
|
||||
- Fix tests on ppc and s390 on both 32 and 64 bit
|
||||
|
||||
* Thu Jun 27 2013 Jakub Filak <jfilak@redhat.com> - 1.0.0-1
|
||||
- Publicly releasable version
|
||||
|
||||
* Mon Jun 03 2013 Jakub Filak <jfilak@redhat.com> - 0.1.2-1
|
||||
- Start versioning library
|
||||
- Drop build dependency on abrt-devel
|
||||
|
||||
* Mon Jun 03 2013 Jakub Filak <jfilak@redhat.com> - 0.1.1-2
|
||||
- Provide ABRT configuration
|
||||
|
||||
* Mon Jun 03 2013 Jakub Filak <jfilak@redhat.com> - 0.1.1-1
|
||||
- New release
|
||||
|
||||
* Fri May 31 2013 Jakub Filak <jfilak@redhat.com> - 0.1.0-3
|
||||
- Build with the library name same as the package name
|
||||
|
||||
* Fri May 31 2013 Jakub Filak <jfilak@redhat.com> - 0.1.0-2
|
||||
- Build with ABRT enabled
|
||||
|
||||
* Fri May 31 2013 Jakub Filak <jfilak@redhat.com> - 0.1.0-1
|
||||
- Initial version
|
||||
|
|
@ -1 +0,0 @@
|
|||
Retired: https://pagure.io/releng/issue/12387
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (abrt-java-connector-1.2.0.tar.gz) = 56f7cd8c4c38a5a5a97a04eeb55eabaae597613d60926163d4aeab02e32f5301bf42cba649c5ba74b060891d161f22851b5e48c1ee161ab3c9e944285b23659e
|
||||
Reference in a new issue