abrt-java-connector package is retired on branch c10s for CS-2551
This commit is contained in:
parent
8e102a70a8
commit
b5ec29d8bf
12
.gitignore
vendored
12
.gitignore
vendored
@ -1,12 +0,0 @@
|
|||||||
/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
|
|
@ -1,28 +0,0 @@
|
|||||||
From f6d7c30415898c73a3b1c207d2acb496f53f67ee Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Thu, 30 Oct 2014 09:36:49 +0100
|
|
||||||
Subject: [PATCH] Decrease the tested memory limits because of failures on arm
|
|
||||||
|
|
||||||
Related to #42
|
|
||||||
---
|
|
||||||
test/Test.java | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/test/Test.java b/test/Test.java
|
|
||||||
index cd4acf4..cbbc113 100644
|
|
||||||
--- a/test/Test.java
|
|
||||||
+++ b/test/Test.java
|
|
||||||
@@ -71,8 +71,8 @@ public class Test {
|
|
||||||
{ int[] intArray1D = new int[DIM_SIZE * DIM_SIZE]; }
|
|
||||||
/* allocated size = 4096*4096*4 bytes */
|
|
||||||
{ int[][] intArray2D = new int[DIM_SIZE][DIM_SIZE]; }
|
|
||||||
- { double[] doubleArray1D = new double[DIM_SIZE * DIM_SIZE]; }
|
|
||||||
- { double[][] doubleArray2D = new double[DIM_SIZE][DIM_SIZE]; }
|
|
||||||
+ { double[] doubleArray1D = new double[DIM_SIZE * (DIM_SIZE/2)]; }
|
|
||||||
+ { double[][] doubleArray2D = new double[DIM_SIZE][DIM_SIZE/2]; }
|
|
||||||
|
|
||||||
// string could be allocated using some base array
|
|
||||||
{ String s = new String(new byte[DIM_SIZE * DIM_SIZE]); }
|
|
||||||
--
|
|
||||||
2.1.0
|
|
||||||
|
|
@ -1,248 +0,0 @@
|
|||||||
From 0495592c727a624d12e7840ec62d4d60370ed5d3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Thu, 30 Oct 2014 11:41:08 +0100
|
|
||||||
Subject: [PATCH] Adapt the arm test outputs to java-1.8
|
|
||||||
|
|
||||||
Related to #42
|
|
||||||
---
|
|
||||||
test/outputs/Linux-armv7l/run_test.log.in | 33 +---
|
|
||||||
test/outputs/Linux-armv7l/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++
|
|
||||||
2 files changed, 175 insertions(+), 25 deletions(-)
|
|
||||||
create mode 100644 test/outputs/Linux-armv7l/run_test.log.in.java-1.7
|
|
||||||
|
|
||||||
diff --git a/test/outputs/Linux-armv7l/run_test.log.in b/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
index 2a41f50..3d83a66 100644
|
|
||||||
--- a/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.lang.NumberFormatException in method java.lang.Integer.parseInt()
|
|
||||||
-Exception in thread "main" java.lang.NumberFormatException: null
|
|
||||||
- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
|
|
||||||
- at java.lang.Integer.<init>(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
|
|
||||||
- at sun.net.InetAddressCachePolicy.<clinit>(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class]
|
|
||||||
- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
|
|
||||||
- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
|
|
||||||
- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
|
|
||||||
- at java.net.InetAddress.getCachedAddresses(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 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.InetAddress$1.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
+Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr()
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
|
|
||||||
- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.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]
|
|
||||||
@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL
|
|
||||||
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 Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.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.getInputStream()
|
|
||||||
+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 Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.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
|
|
||||||
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
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..2a41f50
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/test/outputs/Linux-armv7l/run_test.log.in.java-1.7
|
|
||||||
@@ -0,0 +1,167 @@
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
|
|
||||||
+Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
|
|
||||||
+ at java.io.FileInputStream.open(Native Method) [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 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.<init>()
|
|
||||||
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
+ at java.io.FileInputStream.open(Native Method) [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 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.<init>()
|
|
||||||
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
+ at java.io.FileOutputStream.open(Native Method) [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 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.lang.NumberFormatException in method java.lang.Integer.parseInt()
|
|
||||||
+Exception in thread "main" java.lang.NumberFormatException: null
|
|
||||||
+ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
|
|
||||||
+ at java.lang.Integer.<init>(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
|
|
||||||
+ at sun.net.InetAddressCachePolicy.<clinit>(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class]
|
|
||||||
+ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
|
|
||||||
+ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
|
|
||||||
+ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
|
|
||||||
+ at java.net.InetAddress.getCachedAddresses(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 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.InetAddress$1.lookupAllHostAddr()
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
+ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
|
|
||||||
+ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.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 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 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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
+Exception in thread "main" java.net.ConnectException: 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 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.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 Test.readFromURL(Test.java:237) [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.getInputStream()
|
|
||||||
+Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_
|
|
||||||
+ 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 Test.readFromURL(Test.java:237) [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 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]
|
|
||||||
+executable: @CMAKE_BINARY_DIR@/test/Test.class
|
|
||||||
+Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
|
|
||||||
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
|
|
||||||
+ 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]
|
|
||||||
+ 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()
|
|
||||||
+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 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]
|
|
||||||
+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
+executable: @CMAKE_BINARY_DIR@/test/Test.class
|
|
||||||
+Caught exception java.lang.NullPointerException in method Test.throwNullPointerException()
|
|
||||||
+Exception in thread "main" java.lang.NullPointerException
|
|
||||||
+ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
+ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
+ at Test.throwAndCatchAllExceptions(Test.java:488) [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.ClassCastException in method Test.throwClassCastException()
|
|
||||||
+Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
|
|
||||||
+ 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]
|
|
||||||
+ 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.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 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]
|
|
||||||
+ 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
|
|
||||||
+ 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 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]
|
|
||||||
+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
+executable: @CMAKE_BINARY_DIR@/test/Test.class
|
|
||||||
+Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException()
|
|
||||||
+Exception in thread "main" java.lang.NullPointerException
|
|
||||||
+ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
+ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
+ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
+executable: @CMAKE_BINARY_DIR@/test/Test.class
|
|
||||||
--
|
|
||||||
2.1.0
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,59 +0,0 @@
|
|||||||
From 452bfd970a9ed8c90aaabc84de000a44c6406177 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Tue, 4 Nov 2014 07:15:01 +0100
|
|
||||||
Subject: [PATCH] Update Linux-aarch64 test outputs
|
|
||||||
|
|
||||||
Related to #42
|
|
||||||
---
|
|
||||||
test/outputs/Linux-aarch64/run_test.log.in | 10 +++++-----
|
|
||||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/test/outputs/Linux-aarch64/run_test.log.in b/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
index 3d83a66..4ec6544 100644
|
|
||||||
--- a/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
|
|
||||||
at java.io.FileInputStream.open(Native Method) [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]
|
|
||||||
@@ -6,7 +6,7 @@ Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such
|
|
||||||
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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
at java.io.FileInputStream.open(Native Method) [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]
|
|
||||||
@@ -14,7 +14,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
at java.io.FileOutputStream.open(Native Method) [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]
|
|
||||||
@@ -23,7 +23,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.InetAddress$2.lookupAllHostAddr()
|
|
||||||
+Caught exception java.net.UnknownHostException in method java.net.Inet6AddressImpl.lookupAllHostAddr()
|
|
||||||
Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
|
|
||||||
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class]
|
|
||||||
@@ -50,7 +50,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
+Caught exception java.net.ConnectException in method java.net.PlainSocketImpl.socketConnect()
|
|
||||||
Exception in thread "main" java.net.ConnectException: 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]
|
|
||||||
--
|
|
||||||
2.1.0
|
|
||||||
|
|
@ -1,158 +0,0 @@
|
|||||||
From 0568fd8416f807a0efb4160b3e619d43002314c9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Tue, 25 Nov 2014 08:18:52 -0500
|
|
||||||
Subject: [PATCH] Update the test results
|
|
||||||
|
|
||||||
---
|
|
||||||
test/CMakeLists.txt | 30 ++++++++++++++++--------------
|
|
||||||
test/outputs/Linux-armv7l/run_test.log.in | 15 +++++++++------
|
|
||||||
test/outputs/run_bad_class.log.in | 3 ---
|
|
||||||
test/outputs/run_missing_class_test.log.in | 7 +++++++
|
|
||||||
test/outputs/run_test.log.in | 15 +++++++++------
|
|
||||||
5 files changed, 41 insertions(+), 29 deletions(-)
|
|
||||||
create mode 100644 test/outputs/run_missing_class_test.log.in
|
|
||||||
|
|
||||||
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
|
||||||
index bbf8a8f..291e9a1 100644
|
|
||||||
--- a/test/CMakeLists.txt
|
|
||||||
+++ b/test/CMakeLists.txt
|
|
||||||
@@ -186,22 +186,24 @@ _add_test_target(
|
|
||||||
)
|
|
||||||
_add_test(run_bad_class 2)
|
|
||||||
|
|
||||||
-# Disabled because JVM catches the ClassNotFoundException in a native method and exits gracefully
|
|
||||||
-#_add_test_target(
|
|
||||||
-# run_missing_class_test
|
|
||||||
-# MissingClassTest
|
|
||||||
-# PRE rm -f MissingClassTest.class
|
|
||||||
-# DEPENDS ${TEST_JAVA_TARGETS} ${JAR_TEST_PATH}
|
|
||||||
-# AGENT_OPTIONS executable=threadclass
|
|
||||||
-#)
|
|
||||||
-#_add_test(run_missing_class_test 2)
|
|
||||||
-add_custom_target(
|
|
||||||
+# Disable for JVM-1.7, because it catches the ClassNotFoundException in a native method and exits gracefully
|
|
||||||
+_add_test_target(
|
|
||||||
run_missing_class_test
|
|
||||||
- COMMAND rm -f MissingClassTest.class && LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src ${Java_JAVA_EXECUTABLE} -agentlib:${AGENT_NAME}=output=run_missing_class.log MissingClassTest || test ! -e run_missing_class.log
|
|
||||||
- DEPENDS AbrtChecker ${TEST_JAVA_TARGETS}
|
|
||||||
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
+ MissingClassTest
|
|
||||||
+ PRE rm -f MissingClassTest.class
|
|
||||||
+ DEPENDS ${TEST_JAVA_TARGETS} ${JAR_TEST_PATH}
|
|
||||||
+ AGENT_OPTIONS executable=threadclass
|
|
||||||
)
|
|
||||||
-add_test(test_run_missing_class_test make run_missing_class_test)
|
|
||||||
+_add_test(run_missing_class_test 2)
|
|
||||||
+
|
|
||||||
+# Disable for JVM-1.8, because missing class causes an uncaught exception
|
|
||||||
+#add_custom_target(
|
|
||||||
+# run_missing_class_test
|
|
||||||
+# COMMAND rm -f MissingClassTest.class && LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src ${Java_JAVA_EXECUTABLE} -agentlib:${AGENT_NAME}=output=run_missing_class.log MissingClassTest || test ! -e run_missing_class.log
|
|
||||||
+# DEPENDS AbrtChecker ${TEST_JAVA_TARGETS}
|
|
||||||
+# WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
+#)
|
|
||||||
+#add_test(test_run_missing_class_test make run_missing_class_test)
|
|
||||||
|
|
||||||
_add_test_target(
|
|
||||||
run_try_finally
|
|
||||||
diff --git a/test/outputs/Linux-armv7l/run_test.log.in b/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
index 3d83a66..efc6d8e 100644
|
|
||||||
--- a/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
@@ -1,22 +1,25 @@
|
|
||||||
-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
|
||||||
+ 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 Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
diff --git a/test/outputs/run_bad_class.log.in b/test/outputs/run_bad_class.log.in
|
|
||||||
index 348f056..2b58474 100644
|
|
||||||
--- a/test/outputs/run_bad_class.log.in
|
|
||||||
+++ b/test/outputs/run_bad_class.log.in
|
|
||||||
@@ -1,8 +1,5 @@
|
|
||||||
Uncaught exception java.lang.ClassNotFoundException in method java.lang.ClassLoader.loadClass()
|
|
||||||
Exception in thread "main" java.lang.ClassNotFoundException: foobar
|
|
||||||
- at java.net.URLClassLoader$1.run(URLClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URLClassLoader$1.class]
|
|
||||||
- at java.net.URLClassLoader$1.run(URLClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URLClassLoader$1.class]
|
|
||||||
- at java.security.AccessController.doPrivileged(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/security/AccessController.class]
|
|
||||||
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]
|
|
||||||
diff --git a/test/outputs/run_missing_class_test.log.in b/test/outputs/run_missing_class_test.log.in
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..fbbd20d
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/test/outputs/run_missing_class_test.log.in
|
|
||||||
@@ -0,0 +1,7 @@
|
|
||||||
+Uncaught exception java.lang.ClassNotFoundException in method java.lang.ClassLoader.loadClass()
|
|
||||||
+Exception in thread "main" java.lang.ClassNotFoundException: MissingClassTest
|
|
||||||
+ 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]
|
|
||||||
+executable: JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar
|
|
||||||
diff --git a/test/outputs/run_test.log.in b/test/outputs/run_test.log.in
|
|
||||||
index 4ec6544..6456cd3 100644
|
|
||||||
--- a/test/outputs/run_test.log.in
|
|
||||||
+++ b/test/outputs/run_test.log.in
|
|
||||||
@@ -1,22 +1,25 @@
|
|
||||||
-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
+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.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.open()
|
|
||||||
+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.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.open()
|
|
||||||
+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.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
|
||||||
+ 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 Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
--
|
|
||||||
2.1.0
|
|
||||||
|
|
@ -1,85 +0,0 @@
|
|||||||
From e078503fcd9f74ccdd7e6c50c45e5e715f2dcda8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Wed, 4 Feb 2015 06:30:25 +0100
|
|
||||||
Subject: [PATCH] Make the dependency on systemd optional
|
|
||||||
|
|
||||||
Closes #44
|
|
||||||
|
|
||||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
||||||
---
|
|
||||||
src/CMakeLists.txt | 16 +++++++++++++---
|
|
||||||
src/abrt-checker.c | 7 ++++++-
|
|
||||||
2 files changed, 19 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
||||||
index a178dcd..1d31602 100644
|
|
||||||
--- a/src/CMakeLists.txt
|
|
||||||
+++ b/src/CMakeLists.txt
|
|
||||||
@@ -1,10 +1,17 @@
|
|
||||||
find_package(JNI REQUIRED)
|
|
||||||
include_directories(${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2})
|
|
||||||
|
|
||||||
-pkg_check_modules(PC_JOURNALD REQUIRED libsystemd-journal)
|
|
||||||
include_directories(${PC_LIBREPORT_INCLUDE_DIRS})
|
|
||||||
include_directories(${PC_ABRT_INCLUDE_DIRS})
|
|
||||||
-include_directories(${PC_JOURNALD_INCLUDE_DIRS})
|
|
||||||
+
|
|
||||||
+pkg_check_modules(PC_JOURNALD libsystemd-journal)
|
|
||||||
+
|
|
||||||
+if (PC_JOURNALD_FOUND)
|
|
||||||
+ include_directories(${PC_JOURNALD_INCLUDE_DIRS})
|
|
||||||
+ add_definitions(-DHAVE_SYSTEMD=1)
|
|
||||||
+else()
|
|
||||||
+ add_definitions(-DHAVE_SYSTEMD=0)
|
|
||||||
+endif (PC_JOURNALD_FOUND)
|
|
||||||
|
|
||||||
set(AbrtChecker_SRCS configuration.c abrt-checker.c
|
|
||||||
jthrowable_circular_buf.c jthread_map.c)
|
|
||||||
@@ -19,6 +26,9 @@ set_target_properties(
|
|
||||||
|
|
||||||
target_link_libraries(AbrtChecker ${PC_LIBREPORT_LIBRARIES})
|
|
||||||
target_link_libraries(AbrtChecker ${PC_ABRT_LIBRARIES})
|
|
||||||
-target_link_libraries(AbrtChecker ${PC_JOURNALD_LIBRARIES})
|
|
||||||
+
|
|
||||||
+if (PC_JOURNALD_FOUND)
|
|
||||||
+ target_link_libraries(AbrtChecker ${PC_JOURNALD_LIBRARIES})
|
|
||||||
+endif (PC_JOURNALD_FOUND)
|
|
||||||
|
|
||||||
install(TARGETS AbrtChecker DESTINATION ${JNIAGENTLIB_INSTALL_DIR})
|
|
||||||
diff --git a/src/abrt-checker.c b/src/abrt-checker.c
|
|
||||||
index 930e485..56f2fa4 100644
|
|
||||||
--- a/src/abrt-checker.c
|
|
||||||
+++ b/src/abrt-checker.c
|
|
||||||
@@ -39,9 +39,12 @@
|
|
||||||
#include <linux/limits.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <errno.h>
|
|
||||||
-#include <systemd/sd-journal.h>
|
|
||||||
#include <syslog.h>
|
|
||||||
|
|
||||||
+#if HAVE_SYSTEMD_JOURNAL
|
|
||||||
+#include <systemd/sd-journal.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
/* Shared macros and so on */
|
|
||||||
#include "abrt-checker.h"
|
|
||||||
|
|
||||||
@@ -689,6 +692,7 @@ static void report_stacktrace(
|
|
||||||
syslog(LOG_ERR, "%s\n%s", message, stacktrace);
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if HAVE_SYSTEMD_JOURNAL
|
|
||||||
if (globalConfig.reportErrosTo & ED_JOURNALD)
|
|
||||||
{
|
|
||||||
VERBOSE_PRINT("Reporting stack trace to JournalD\n");
|
|
||||||
@@ -698,6 +702,7 @@ static void report_stacktrace(
|
|
||||||
NULL);
|
|
||||||
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
log_print("%s\n", message);
|
|
||||||
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
From 64b07c73452ed3b0d0d4e978fad61940ae12d362 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Wed, 11 Mar 2015 13:21:43 +0100
|
|
||||||
Subject: [PATCH] Update README
|
|
||||||
|
|
||||||
---
|
|
||||||
README | 15 +++++++++++++++
|
|
||||||
1 file changed, 15 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/README b/README
|
|
||||||
index a8dbf2e..2657b11 100644
|
|
||||||
--- a/README
|
|
||||||
+++ b/README
|
|
||||||
@@ -126,3 +126,18 @@ Example7:
|
|
||||||
|
|
||||||
|
|
||||||
$ java -agentlib:abrt-java-connector=conffile=/etc/foo/example.conf $MyClass
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+Building from sources
|
|
||||||
+---------------------
|
|
||||||
+
|
|
||||||
+This project uses CMake build system but a Makefile for GNU Make, which defines
|
|
||||||
+all the targets you usually need to run, is also provided.
|
|
||||||
+
|
|
||||||
+$ make build
|
|
||||||
+$ make run
|
|
||||||
+$ make check
|
|
||||||
+$ make rpm
|
|
||||||
+$ make distclean
|
|
||||||
+
|
|
||||||
+All build results are stored in ./bin directory.
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
@ -1,52 +0,0 @@
|
|||||||
From f5f7f625ff489bf0e68f4b99503188b7006807ce Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
Date: Fri, 13 Mar 2015 16:11:01 +0100
|
|
||||||
Subject: [PATCH] Remove function malloc_readlink
|
|
||||||
|
|
||||||
The same function was added to the libreport so there was a conflict between
|
|
||||||
them.
|
|
||||||
|
|
||||||
Related to #1185626
|
|
||||||
|
|
||||||
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
---
|
|
||||||
src/abrt-checker.c | 23 -----------------------
|
|
||||||
1 file changed, 23 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/abrt-checker.c b/src/abrt-checker.c
|
|
||||||
index 56f2fa4..4e1a450 100644
|
|
||||||
--- a/src/abrt-checker.c
|
|
||||||
+++ b/src/abrt-checker.c
|
|
||||||
@@ -1039,29 +1039,6 @@ static void get_thread_name(
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
-/*
|
|
||||||
- * Read executable name from link /proc/${PID}/exe
|
|
||||||
- */
|
|
||||||
-static char* malloc_readlink(const char *linkname)
|
|
||||||
-{
|
|
||||||
- char buf[PATH_MAX + 1];
|
|
||||||
- int len;
|
|
||||||
-
|
|
||||||
- len = readlink(linkname, buf, sizeof(buf)-1);
|
|
||||||
- if (len >= 0)
|
|
||||||
- {
|
|
||||||
- buf[len] = '\0';
|
|
||||||
- char *p = malloc(strlen(buf) + 1);
|
|
||||||
- if (p)
|
|
||||||
- {
|
|
||||||
- strcpy(p, buf);
|
|
||||||
- }
|
|
||||||
- return p;
|
|
||||||
- }
|
|
||||||
- return NULL;
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Read executable name from the special file /proc/${PID}/exe
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
|||||||
From cde55c7b8e2bc35c1eb38dd96dc1606d1adbff2b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
Date: Fri, 13 Mar 2015 16:17:25 +0100
|
|
||||||
Subject: [PATCH] Makefile: Adds srpm target
|
|
||||||
|
|
||||||
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
---
|
|
||||||
Makefile | 7 +++++++
|
|
||||||
1 file changed, 7 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 2e20217..8802256 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -46,6 +46,13 @@ rpm: dist
|
|
||||||
$(PKG_DIR)/abrt-java-connector.spec > $(OUT_DIR)/abrt-java-connector.spec && \
|
|
||||||
rpmbuild $(RPM_DIRS) $(RPM_FLAGS) -ba $(OUT_DIR)/abrt-java-connector.spec
|
|
||||||
|
|
||||||
+.PHONY: srpm
|
|
||||||
+srpm: dist
|
|
||||||
+ sed -e 's/global commit .*$$/global commit '"$$(git log -1 --format=%H)"'/' \
|
|
||||||
+ -e 's/%{?dist}/.'"$$(git log -1 --format=%h)%{?dist}"'/' \
|
|
||||||
+ $(PKG_DIR)/abrt-java-connector.spec > $(OUT_DIR)/abrt-java-connector.spec && \
|
|
||||||
+ rpmbuild $(RPM_DIRS) $(RPM_FLAGS) -bs $(OUT_DIR)/abrt-java-connector.spec
|
|
||||||
+
|
|
||||||
# Make sure the output dir is created
|
|
||||||
$(OUT_DIR):
|
|
||||||
mkdir -p $@ && cd $@ && cmake $$CMAKE_OPTS ../
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
@ -1,130 +0,0 @@
|
|||||||
From 00bc0bad7dd7ce80ce8882d0adcf363aa719f5c5 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
Date: Fri, 13 Mar 2015 16:18:20 +0100
|
|
||||||
Subject: [PATCH] Update the test results
|
|
||||||
|
|
||||||
Updated:
|
|
||||||
Linux-aarch64/run_test.log.in
|
|
||||||
Linux-ppc64/run_test.log.in
|
|
||||||
Linux-ppc64le/run_test.log.in
|
|
||||||
|
|
||||||
Related to #1185626
|
|
||||||
|
|
||||||
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
---
|
|
||||||
test/outputs/Linux-aarch64/run_test.log.in | 15 +++++++++------
|
|
||||||
test/outputs/Linux-ppc64/run_test.log.in | 15 +++++++++------
|
|
||||||
test/outputs/Linux-ppc64le/run_test.log.in | 15 +++++++++------
|
|
||||||
3 files changed, 27 insertions(+), 18 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/test/outputs/Linux-aarch64/run_test.log.in b/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
index 4ec6544..6456cd3 100644
|
|
||||||
--- a/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
@@ -1,22 +1,25 @@
|
|
||||||
-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
+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.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.open()
|
|
||||||
+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.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.open()
|
|
||||||
+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.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
|
||||||
+ 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 Test.writeToUnwritableFile(Test.java:134) [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 3d83a66..efc6d8e 100644
|
|
||||||
--- a/test/outputs/Linux-ppc64/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-ppc64/run_test.log.in
|
|
||||||
@@ -1,22 +1,25 @@
|
|
||||||
-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
|
||||||
+ 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 Test.writeToUnwritableFile(Test.java:134) [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 3d83a66..efc6d8e 100644
|
|
||||||
--- a/test/outputs/Linux-ppc64le/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-ppc64le/run_test.log.in
|
|
||||||
@@ -1,22 +1,25 @@
|
|
||||||
-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
|
||||||
+ 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 Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
|||||||
From 81a744f1b18475221feaffc8da120628a4ab5da4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Mon, 13 Jul 2015 15:36:20 +0200
|
|
||||||
Subject: [PATCH] Clearly state that tests cannot be run under root
|
|
||||||
|
|
||||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
||||||
---
|
|
||||||
Makefile | 2 +-
|
|
||||||
README | 4 ++++
|
|
||||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 8802256..15df319 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -67,4 +67,4 @@ distclean:
|
|
||||||
|
|
||||||
.PHONY: check
|
|
||||||
check: build
|
|
||||||
- cd $(OUT_DIR) && make test
|
|
||||||
+ if [ "_0" != "_$$(id -u)" ]; then cd $(OUT_DIR) && make test; else echo "Cannot run tests under root user."; exit 1; fi
|
|
||||||
diff --git a/README b/README
|
|
||||||
index 2657b11..30d0bef 100644
|
|
||||||
--- a/README
|
|
||||||
+++ b/README
|
|
||||||
@@ -141,3 +141,7 @@ $ make rpm
|
|
||||||
$ make distclean
|
|
||||||
|
|
||||||
All build results are stored in ./bin directory.
|
|
||||||
+
|
|
||||||
+The `check' make target will fail if you run it under root user. There are some
|
|
||||||
+test cases that try to generate 'File Access Denied' exceptions and the easiest
|
|
||||||
+way to achieve that is to try to access a root's file.
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
@ -1,59 +0,0 @@
|
|||||||
From 9acaea3944d8f6d64040302b523c8160fd15bcd7 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Wed, 29 Jul 2015 18:49:58 +0200
|
|
||||||
Subject: [PATCH] Disable ClassNotFoundException test again
|
|
||||||
|
|
||||||
java-1.8.0-openjdk started catching the ClassNotFoundException and
|
|
||||||
has the same behaviour as java-1.7.0-openjdk now.
|
|
||||||
---
|
|
||||||
test/CMakeLists.txt | 32 +++++++++++++++++---------------
|
|
||||||
1 file changed, 17 insertions(+), 15 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
|
||||||
index 291e9a1..6c2a3f8 100644
|
|
||||||
--- a/test/CMakeLists.txt
|
|
||||||
+++ b/test/CMakeLists.txt
|
|
||||||
@@ -187,23 +187,25 @@ _add_test_target(
|
|
||||||
_add_test(run_bad_class 2)
|
|
||||||
|
|
||||||
# Disable for JVM-1.7, because it catches the ClassNotFoundException in a native method and exits gracefully
|
|
||||||
-_add_test_target(
|
|
||||||
- run_missing_class_test
|
|
||||||
- MissingClassTest
|
|
||||||
- PRE rm -f MissingClassTest.class
|
|
||||||
- DEPENDS ${TEST_JAVA_TARGETS} ${JAR_TEST_PATH}
|
|
||||||
- AGENT_OPTIONS executable=threadclass
|
|
||||||
-)
|
|
||||||
-_add_test(run_missing_class_test 2)
|
|
||||||
-
|
|
||||||
-# Disable for JVM-1.8, because missing class causes an uncaught exception
|
|
||||||
-#add_custom_target(
|
|
||||||
+# 2015-07-29: Disable for JVM-1.8, because java started catching the exception in a native method again
|
|
||||||
+#_add_test_target(
|
|
||||||
# run_missing_class_test
|
|
||||||
-# COMMAND rm -f MissingClassTest.class && LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src ${Java_JAVA_EXECUTABLE} -agentlib:${AGENT_NAME}=output=run_missing_class.log MissingClassTest || test ! -e run_missing_class.log
|
|
||||||
-# DEPENDS AbrtChecker ${TEST_JAVA_TARGETS}
|
|
||||||
-# WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
+# MissingClassTest
|
|
||||||
+# PRE rm -f MissingClassTest.class
|
|
||||||
+# DEPENDS ${TEST_JAVA_TARGETS} ${JAR_TEST_PATH}
|
|
||||||
+# AGENT_OPTIONS executable=threadclass
|
|
||||||
#)
|
|
||||||
-#add_test(test_run_missing_class_test make run_missing_class_test)
|
|
||||||
+#_add_test(run_missing_class_test 2)
|
|
||||||
+
|
|
||||||
+# Disable for JVM-1.8, because missing class causes an uncaught exception
|
|
||||||
+# 2015-07-29: Enable for all versions, because this error has stopped causing an uncaught exception with JVM-1.8
|
|
||||||
+add_custom_target(
|
|
||||||
+ run_missing_class_test
|
|
||||||
+ COMMAND rm -f MissingClassTest.class && LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src ${Java_JAVA_EXECUTABLE} -agentlib:${AGENT_NAME}=output=run_missing_class.log MissingClassTest || test ! -e run_missing_class.log
|
|
||||||
+ DEPENDS AbrtChecker ${TEST_JAVA_TARGETS}
|
|
||||||
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
+)
|
|
||||||
+add_test(test_run_missing_class_test make run_missing_class_test)
|
|
||||||
|
|
||||||
_add_test_target(
|
|
||||||
run_try_finally
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
|||||||
From c8951a1173327241be8d518b317498b25241b5af Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Mon, 15 Feb 2016 07:16:02 +0100
|
|
||||||
Subject: [PATCH] Correct includes for ABRT
|
|
||||||
|
|
||||||
The libabrt.h file includes all libreport include files and the file
|
|
||||||
belongs to ABRT.
|
|
||||||
|
|
||||||
"-pedantic" cannot be disabled through pragma any more.
|
|
||||||
|
|
||||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
||||||
---
|
|
||||||
src/internal_libabrt.h | 10 +---------
|
|
||||||
1 file changed, 1 insertion(+), 9 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/internal_libabrt.h b/src/internal_libabrt.h
|
|
||||||
index e40d642..527a90c 100644
|
|
||||||
--- a/src/internal_libabrt.h
|
|
||||||
+++ b/src/internal_libabrt.h
|
|
||||||
@@ -22,15 +22,7 @@
|
|
||||||
* Wrapper header for all ABRT includes
|
|
||||||
*/
|
|
||||||
|
|
||||||
-/* libreport include file */
|
|
||||||
-#pragma GCC diagnostic push
|
|
||||||
-#pragma GCC diagnostic ignored "-pedantic"
|
|
||||||
+/* abrt include files */
|
|
||||||
#include <libabrt.h>
|
|
||||||
-#include <internal_libreport.h>
|
|
||||||
-#pragma GCC diagnostic pop
|
|
||||||
-
|
|
||||||
-#include <problem_data.h>
|
|
||||||
-
|
|
||||||
-/* ABRT is not necessary now */
|
|
||||||
|
|
||||||
#endif /* __INTERNAL_LIBABRT_H */
|
|
||||||
--
|
|
||||||
2.7.1
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
From b465f6b6a9587fb2387d3e880227e936d6ba5d3b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Mon, 15 Feb 2016 07:18:19 +0100
|
|
||||||
Subject: [PATCH] Drop pedantic from CFLAGS
|
|
||||||
|
|
||||||
GLib2 headers produces some warnings with this option and the option
|
|
||||||
cannot be disable through pargma.
|
|
||||||
|
|
||||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index e766995..6af7886 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -78,7 +78,7 @@ pkg_check_modules(PC_ABRT REQUIRED abrt)
|
|
||||||
add_definitions(-D_GNU_SOURCE)
|
|
||||||
set(AJC_ENABLE_NLS true)
|
|
||||||
|
|
||||||
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic")
|
|
||||||
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99")
|
|
||||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g -DVERBOSE")
|
|
||||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Werror -DSILENT")
|
|
||||||
|
|
||||||
--
|
|
||||||
2.7.1
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
From 60e6835ed01fd9dce9704aeb286157f920e301cb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
Date: Thu, 24 Aug 2017 10:57:31 +0200
|
|
||||||
Subject: [PATCH] Rename log() to log_warning()
|
|
||||||
|
|
||||||
Reanming log() function for logging in libreport because
|
|
||||||
of confilict with log() function from math.h.
|
|
||||||
---
|
|
||||||
utils/abrt-action-analyze-java.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/utils/abrt-action-analyze-java.c b/utils/abrt-action-analyze-java.c
|
|
||||||
index 285da8f..fdd4d51 100644
|
|
||||||
--- a/utils/abrt-action-analyze-java.c
|
|
||||||
+++ b/utils/abrt-action-analyze-java.c
|
|
||||||
@@ -335,7 +335,7 @@ int main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
hash_str = sr_thread_get_duphash(crash_thread, FRAMES_FOR_DUPHASH,
|
|
||||||
/*noprefix*/NULL, SR_DUPHASH_NOHASH);
|
|
||||||
- log("Generating duphash from string: '%s'", hash_str);
|
|
||||||
+ log_warning("Generating duphash from string: '%s'", hash_str);
|
|
||||||
free(hash_str);
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.13.3
|
|
||||||
|
|
@ -1,227 +0,0 @@
|
|||||||
From 61a55bfd2c8f72db73081b9aa67e1ecc8b9f3331 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
||||||
Date: Thu, 24 Aug 2017 12:13:16 +0200
|
|
||||||
Subject: [PATCH] Update the test results
|
|
||||||
|
|
||||||
---
|
|
||||||
test/outputs/Linux-aarch64/run_test.log.in | 4 ++--
|
|
||||||
test/outputs/Linux-armv7l/run_test.log.in | 4 ++--
|
|
||||||
test/outputs/Linux-ppc/run_test.log.in | 4 ++--
|
|
||||||
test/outputs/Linux-ppc64/run_test.log.in | 4 ++--
|
|
||||||
test/outputs/Linux-ppc64le/run_test.log.in | 4 ++--
|
|
||||||
test/outputs/Linux-s390/run_test.log.in | 4 ++--
|
|
||||||
test/outputs/Linux-s390x/run_test.log.in | 19 +++++++++++--------
|
|
||||||
test/outputs/run_test.log.in | 4 ++--
|
|
||||||
8 files changed, 25 insertions(+), 22 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/test/outputs/Linux-aarch64/run_test.log.in b/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
index 6456cd3..eaafbdd 100644
|
|
||||||
--- a/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-aarch64/run_test.log.in
|
|
||||||
@@ -27,7 +27,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.Inet6AddressImpl.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -54,7 +54,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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
|
|
||||||
+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]
|
|
||||||
diff --git a/test/outputs/Linux-armv7l/run_test.log.in b/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
index efc6d8e..b92de6b 100644
|
|
||||||
--- a/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-armv7l/run_test.log.in
|
|
||||||
@@ -27,7 +27,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.InetAddress$2.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -54,7 +54,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
-Exception in thread "main" java.net.ConnectException: Connection refused
|
|
||||||
+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]
|
|
||||||
diff --git a/test/outputs/Linux-ppc/run_test.log.in b/test/outputs/Linux-ppc/run_test.log.in
|
|
||||||
index 3d83a66..c81852d 100644
|
|
||||||
--- a/test/outputs/Linux-ppc/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-ppc/run_test.log.in
|
|
||||||
@@ -24,7 +24,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.InetAddress$2.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -51,7 +51,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
-Exception in thread "main" java.net.ConnectException: Connection refused
|
|
||||||
+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]
|
|
||||||
diff --git a/test/outputs/Linux-ppc64/run_test.log.in b/test/outputs/Linux-ppc64/run_test.log.in
|
|
||||||
index efc6d8e..b92de6b 100644
|
|
||||||
--- a/test/outputs/Linux-ppc64/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-ppc64/run_test.log.in
|
|
||||||
@@ -27,7 +27,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.InetAddress$2.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -54,7 +54,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
-Exception in thread "main" java.net.ConnectException: Connection refused
|
|
||||||
+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]
|
|
||||||
diff --git a/test/outputs/Linux-ppc64le/run_test.log.in b/test/outputs/Linux-ppc64le/run_test.log.in
|
|
||||||
index efc6d8e..b92de6b 100644
|
|
||||||
--- a/test/outputs/Linux-ppc64le/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-ppc64le/run_test.log.in
|
|
||||||
@@ -27,7 +27,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.InetAddress$2.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -54,7 +54,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
-Exception in thread "main" java.net.ConnectException: Connection refused
|
|
||||||
+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]
|
|
||||||
diff --git a/test/outputs/Linux-s390/run_test.log.in b/test/outputs/Linux-s390/run_test.log.in
|
|
||||||
index 3d83a66..c81852d 100644
|
|
||||||
--- a/test/outputs/Linux-s390/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-s390/run_test.log.in
|
|
||||||
@@ -24,7 +24,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.InetAddress$2.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -51,7 +51,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
-Exception in thread "main" java.net.ConnectException: Connection refused
|
|
||||||
+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]
|
|
||||||
diff --git a/test/outputs/Linux-s390x/run_test.log.in b/test/outputs/Linux-s390x/run_test.log.in
|
|
||||||
index 3d83a66..b92de6b 100644
|
|
||||||
--- a/test/outputs/Linux-s390x/run_test.log.in
|
|
||||||
+++ b/test/outputs/Linux-s390x/run_test.log.in
|
|
||||||
@@ -1,22 +1,25 @@
|
|
||||||
-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
|
|
||||||
+ 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 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.<init>()
|
|
||||||
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open()
|
|
||||||
Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
|
|
||||||
- at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
|
|
||||||
+ 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 Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
|
|
||||||
@@ -24,7 +27,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.InetAddress$2.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -51,7 +54,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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.AbstractPlainSocketImpl.doConnect()
|
|
||||||
-Exception in thread "main" java.net.ConnectException: Connection refused
|
|
||||||
+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]
|
|
||||||
diff --git a/test/outputs/run_test.log.in b/test/outputs/run_test.log.in
|
|
||||||
index 6456cd3..eaafbdd 100644
|
|
||||||
--- a/test/outputs/run_test.log.in
|
|
||||||
+++ b/test/outputs/run_test.log.in
|
|
||||||
@@ -27,7 +27,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
|
|
||||||
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.Inet6AddressImpl.lookupAllHostAddr()
|
|
||||||
-Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
|
|
||||||
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
|
|
||||||
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.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]
|
|
||||||
@@ -54,7 +54,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy
|
|
||||||
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
|
|
||||||
+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]
|
|
||||||
--
|
|
||||||
2.13.5
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
|||||||
From c0d934651f0fb01687035c8750f0591ea8b5d0ee Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Filak <jfilak@redhat.com>
|
|
||||||
Date: Mon, 23 May 2016 14:28:40 +0200
|
|
||||||
Subject: [PATCH] build: update pkg modules for systemd
|
|
||||||
|
|
||||||
systemd-journal was dropped in systemd-230
|
|
||||||
|
|
||||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
||||||
---
|
|
||||||
src/CMakeLists.txt | 14 +++++++-------
|
|
||||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
||||||
index 1d31602..36c9ce5 100644
|
|
||||||
--- a/src/CMakeLists.txt
|
|
||||||
+++ b/src/CMakeLists.txt
|
|
||||||
@@ -4,14 +4,14 @@ include_directories(${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2})
|
|
||||||
include_directories(${PC_LIBREPORT_INCLUDE_DIRS})
|
|
||||||
include_directories(${PC_ABRT_INCLUDE_DIRS})
|
|
||||||
|
|
||||||
-pkg_check_modules(PC_JOURNALD libsystemd-journal)
|
|
||||||
+pkg_check_modules(PC_SYSTEMD libsystemd)
|
|
||||||
|
|
||||||
-if (PC_JOURNALD_FOUND)
|
|
||||||
- include_directories(${PC_JOURNALD_INCLUDE_DIRS})
|
|
||||||
+if (PC_SYSTEMD_FOUND)
|
|
||||||
+ include_directories(${PC_SYSTEMD_INCLUDE_DIRS})
|
|
||||||
add_definitions(-DHAVE_SYSTEMD=1)
|
|
||||||
else()
|
|
||||||
add_definitions(-DHAVE_SYSTEMD=0)
|
|
||||||
-endif (PC_JOURNALD_FOUND)
|
|
||||||
+endif (PC_SYSTEMD_FOUND)
|
|
||||||
|
|
||||||
set(AbrtChecker_SRCS configuration.c abrt-checker.c
|
|
||||||
jthrowable_circular_buf.c jthread_map.c)
|
|
||||||
@@ -27,8 +27,8 @@ set_target_properties(
|
|
||||||
target_link_libraries(AbrtChecker ${PC_LIBREPORT_LIBRARIES})
|
|
||||||
target_link_libraries(AbrtChecker ${PC_ABRT_LIBRARIES})
|
|
||||||
|
|
||||||
-if (PC_JOURNALD_FOUND)
|
|
||||||
- target_link_libraries(AbrtChecker ${PC_JOURNALD_LIBRARIES})
|
|
||||||
-endif (PC_JOURNALD_FOUND)
|
|
||||||
+if (PC_SYSTEMD_FOUND)
|
|
||||||
+ target_link_libraries(AbrtChecker ${PC_SYSTEMD_LIBRARIES})
|
|
||||||
+endif (PC_SYSTEMD_FOUND)
|
|
||||||
|
|
||||||
install(TARGETS AbrtChecker DESTINATION ${JNIAGENTLIB_INSTALL_DIR})
|
|
||||||
--
|
|
||||||
2.21.0
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
|||||||
From ae2144f1674f163517f0aa18b5f1b4784c143572 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ernestas Kulik <ekulik@redhat.com>
|
|
||||||
Date: Fri, 19 Jul 2019 15:24:17 +0200
|
|
||||||
Subject: [PATCH] abrt-checker: Fix preprocessor check
|
|
||||||
|
|
||||||
The macro defined is HAVE_SYSTEMD, not HAVE_SYSTEMD_JOURNAL.
|
|
||||||
|
|
||||||
Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
|
|
||||||
---
|
|
||||||
src/abrt-checker.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/abrt-checker.c b/src/abrt-checker.c
|
|
||||||
index 6f7fe13..2a0fac2 100644
|
|
||||||
--- a/src/abrt-checker.c
|
|
||||||
+++ b/src/abrt-checker.c
|
|
||||||
@@ -41,7 +41,7 @@
|
|
||||||
#include <errno.h>
|
|
||||||
#include <syslog.h>
|
|
||||||
|
|
||||||
-#if HAVE_SYSTEMD_JOURNAL
|
|
||||||
+#if HAVE_SYSTEMD
|
|
||||||
#include <systemd/sd-journal.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -802,7 +802,7 @@ static void report_stacktrace(
|
|
||||||
syslog(LOG_ERR, "%s\n%s", message, stacktrace);
|
|
||||||
}
|
|
||||||
|
|
||||||
-#if HAVE_SYSTEMD_JOURNAL
|
|
||||||
+#if HAVE_SYSTEMD
|
|
||||||
if (globalConfig.reportErrosTo & ED_JOURNALD)
|
|
||||||
{
|
|
||||||
VERBOSE_PRINT("Reporting stack trace to JournalD\n");
|
|
||||||
--
|
|
||||||
2.21.0
|
|
||||||
|
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Package Not Available
|
||||||
|
This package is not available on CentOS Stream 10.
|
||||||
|
It may be available on another branch.
|
1
dead.package
Normal file
1
dead.package
Normal file
@ -0,0 +1 @@
|
|||||||
|
abrt-java-connector package is retired on branch c10s for CS-2551
|
Loading…
Reference in New Issue
Block a user