From 50b8515bf00c3d1c00440a3489b4d40ed0da302e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2019 16:39:38 +0000 Subject: import abrt-java-connector-1.1.0-15.el8 --- diff --git a/.abrt-java-connector.metadata b/.abrt-java-connector.metadata new file mode 100644 index 0000000..c58188f --- /dev/null +++ b/.abrt-java-connector.metadata @@ -0,0 +1 @@ +8fd919dfe2ca49541bee58afb43f483d1c1e34c0 SOURCES/abrt-java-connector-1.1.0-230b726.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc31923 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/abrt-java-connector-1.1.0-230b726.tar.gz diff --git a/SOURCES/0001-Decrease-the-tested-memory-limits-because-of-failure.patch b/SOURCES/0001-Decrease-the-tested-memory-limits-because-of-failure.patch new file mode 100644 index 0000000..edf370d --- /dev/null +++ b/SOURCES/0001-Decrease-the-tested-memory-limits-because-of-failure.patch @@ -0,0 +1,28 @@ +From f6d7c30415898c73a3b1c207d2acb496f53f67ee Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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 + diff --git a/SOURCES/0002-Adapt-the-arm-test-outputs-to-java-1.8.patch b/SOURCES/0002-Adapt-the-arm-test-outputs-to-java-1.8.patch new file mode 100644 index 0000000..d9fbf39 --- /dev/null +++ b/SOURCES/0002-Adapt-the-arm-test-outputs-to-java-1.8.patch @@ -0,0 +1,248 @@ +From 0495592c727a624d12e7840ec62d4d60370ed5d3 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(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.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(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 + diff --git a/SOURCES/0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch b/SOURCES/0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch new file mode 100644 index 0000000..1343ef1 --- /dev/null +++ b/SOURCES/0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch @@ -0,0 +1,1428 @@ +From ec252755392cd5dcd0eaf63e5d0b46c246c24199 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 30 Oct 2014 11:58:34 +0100 +Subject: [PATCH] Add java-1.8 test outputs for aarch, ppc and s390 + +Related to #42 +--- + test/outputs/Linux-aarch64/run_test.log.in | 33 +--- + .../outputs/Linux-aarch64/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-ppc/run_test.log.in | 33 +--- + test/outputs/Linux-ppc/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-ppc64/run_test.log.in | 33 +--- + test/outputs/Linux-ppc64/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-ppc64le/run_test.log.in | 33 +--- + .../outputs/Linux-ppc64le/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-s390/run_test.log.in | 33 +--- + test/outputs/Linux-s390/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-s390x/run_test.log.in | 33 +--- + test/outputs/Linux-s390x/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + 12 files changed, 1050 insertions(+), 150 deletions(-) + create mode 100644 test/outputs/Linux-aarch64/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-ppc/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-ppc64/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-s390/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-s390x/run_test.log.in.java-1.7 + +diff --git a/test/outputs/Linux-aarch64/run_test.log.in b/test/outputs/Linux-aarch64/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-aarch64/run_test.log.in ++++ b/test/outputs/Linux-aarch64/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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(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-aarch64/run_test.log.in.java-1.7 b/test/outputs/Linux-aarch64/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-aarch64/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(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 +diff --git a/test/outputs/Linux-ppc/run_test.log.in b/test/outputs/Linux-ppc/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-ppc/run_test.log.in ++++ b/test/outputs/Linux-ppc/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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(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-ppc/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-ppc/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(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 +diff --git a/test/outputs/Linux-ppc64/run_test.log.in b/test/outputs/Linux-ppc64/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-ppc64/run_test.log.in ++++ b/test/outputs/Linux-ppc64/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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(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-ppc64/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc64/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-ppc64/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(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 +diff --git a/test/outputs/Linux-ppc64le/run_test.log.in b/test/outputs/Linux-ppc64le/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-ppc64le/run_test.log.in ++++ b/test/outputs/Linux-ppc64le/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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(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-ppc64le/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(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 +diff --git a/test/outputs/Linux-s390/run_test.log.in b/test/outputs/Linux-s390/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-s390/run_test.log.in ++++ b/test/outputs/Linux-s390/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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(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-s390/run_test.log.in.java-1.7 b/test/outputs/Linux-s390/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-s390/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(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 +diff --git a/test/outputs/Linux-s390x/run_test.log.in b/test/outputs/Linux-s390x/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-s390x/run_test.log.in ++++ b/test/outputs/Linux-s390x/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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(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-s390x/run_test.log.in.java-1.7 b/test/outputs/Linux-s390x/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-s390x/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(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.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(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.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(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 + diff --git a/SOURCES/0004-Update-Linux-aarch64-test-outputs.patch b/SOURCES/0004-Update-Linux-aarch64-test-outputs.patch new file mode 100644 index 0000000..191b4a0 --- /dev/null +++ b/SOURCES/0004-Update-Linux-aarch64-test-outputs.patch @@ -0,0 +1,59 @@ +From 452bfd970a9ed8c90aaabc84de000a44c6406177 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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.() ++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.(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.() ++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.(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.() ++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.(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 + diff --git a/SOURCES/0005-Update-the-test-results.patch b/SOURCES/0005-Update-the-test-results.patch new file mode 100644 index 0000000..3bb51d4 --- /dev/null +++ b/SOURCES/0005-Update-the-test-results.patch @@ -0,0 +1,158 @@ +From 0568fd8416f807a0efb4160b3e619d43002314c9 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] + at java.io.FileOutputStream.(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.(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.(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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] + at java.io.FileOutputStream.(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 + diff --git a/SOURCES/0006-Make-the-dependency-on-systemd-optional.patch b/SOURCES/0006-Make-the-dependency-on-systemd-optional.patch new file mode 100644 index 0000000..2cd7d85 --- /dev/null +++ b/SOURCES/0006-Make-the-dependency-on-systemd-optional.patch @@ -0,0 +1,85 @@ +From e078503fcd9f74ccdd7e6c50c45e5e715f2dcda8 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Wed, 4 Feb 2015 06:30:25 +0100 +Subject: [PATCH] Make the dependency on systemd optional + +Closes #44 + +Signed-off-by: Jakub Filak +--- + 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 + #include + #include +-#include + #include + ++#if HAVE_SYSTEMD_JOURNAL ++#include ++#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 + diff --git a/SOURCES/0007-Update-README.patch b/SOURCES/0007-Update-README.patch new file mode 100644 index 0000000..7b7cc75 --- /dev/null +++ b/SOURCES/0007-Update-README.patch @@ -0,0 +1,35 @@ +From 64b07c73452ed3b0d0d4e978fad61940ae12d362 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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 + diff --git a/SOURCES/0008-Remove-function-malloc_readlink.patch b/SOURCES/0008-Remove-function-malloc_readlink.patch new file mode 100644 index 0000000..f0e97dd --- /dev/null +++ b/SOURCES/0008-Remove-function-malloc_readlink.patch @@ -0,0 +1,52 @@ +From f5f7f625ff489bf0e68f4b99503188b7006807ce Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +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 +--- + 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 + diff --git a/SOURCES/0009-Makefile-Adds-srpm-target.patch b/SOURCES/0009-Makefile-Adds-srpm-target.patch new file mode 100644 index 0000000..a133896 --- /dev/null +++ b/SOURCES/0009-Makefile-Adds-srpm-target.patch @@ -0,0 +1,31 @@ +From cde55c7b8e2bc35c1eb38dd96dc1606d1adbff2b Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +Date: Fri, 13 Mar 2015 16:17:25 +0100 +Subject: [PATCH] Makefile: Adds srpm target + +Signed-off-by: Matej Habrnal +--- + 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 + diff --git a/SOURCES/0010-Update-the-test-results.patch b/SOURCES/0010-Update-the-test-results.patch new file mode 100644 index 0000000..18149a7 --- /dev/null +++ b/SOURCES/0010-Update-the-test-results.patch @@ -0,0 +1,130 @@ +From 00bc0bad7dd7ce80ce8882d0adcf363aa719f5c5 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +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 +--- + 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.(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.(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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] + at java.io.FileOutputStream.(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.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] + at java.io.FileOutputStream.(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.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] + at java.io.FileOutputStream.(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 + diff --git a/SOURCES/0011-Clearly-state-that-tests-cannot-be-run-under-root.patch b/SOURCES/0011-Clearly-state-that-tests-cannot-be-run-under-root.patch new file mode 100644 index 0000000..b1f3bad --- /dev/null +++ b/SOURCES/0011-Clearly-state-that-tests-cannot-be-run-under-root.patch @@ -0,0 +1,36 @@ +From 81a744f1b18475221feaffc8da120628a4ab5da4 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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 +--- + 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 + diff --git a/SOURCES/0012-Disable-ClassNotFoundException-test-again.patch b/SOURCES/0012-Disable-ClassNotFoundException-test-again.patch new file mode 100644 index 0000000..a71bfd8 --- /dev/null +++ b/SOURCES/0012-Disable-ClassNotFoundException-test-again.patch @@ -0,0 +1,59 @@ +From 9acaea3944d8f6d64040302b523c8160fd15bcd7 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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 + diff --git a/SOURCES/0013-Correct-includes-for-ABRT.patch b/SOURCES/0013-Correct-includes-for-ABRT.patch new file mode 100644 index 0000000..1bb9b04 --- /dev/null +++ b/SOURCES/0013-Correct-includes-for-ABRT.patch @@ -0,0 +1,39 @@ +From c8951a1173327241be8d518b317498b25241b5af Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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 +--- + 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 +-#include +-#pragma GCC diagnostic pop +- +-#include +- +-/* ABRT is not necessary now */ + + #endif /* __INTERNAL_LIBABRT_H */ +-- +2.7.1 + diff --git a/SOURCES/0014-Drop-pedantic-from-CFLAGS.patch b/SOURCES/0014-Drop-pedantic-from-CFLAGS.patch new file mode 100644 index 0000000..f40807f --- /dev/null +++ b/SOURCES/0014-Drop-pedantic-from-CFLAGS.patch @@ -0,0 +1,29 @@ +From b465f6b6a9587fb2387d3e880227e936d6ba5d3b Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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 +--- + 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 + diff --git a/SOURCES/0015-Rename-log-to-log_warning.patch b/SOURCES/0015-Rename-log-to-log_warning.patch new file mode 100644 index 0000000..6cd3839 --- /dev/null +++ b/SOURCES/0015-Rename-log-to-log_warning.patch @@ -0,0 +1,27 @@ +From 60e6835ed01fd9dce9704aeb286157f920e301cb Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +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 + diff --git a/SOURCES/0016-Update-the-test-results.patch b/SOURCES/0016-Update-the-test-results.patch new file mode 100644 index 0000000..a5d3308 --- /dev/null +++ b/SOURCES/0016-Update-the-test-results.patch @@ -0,0 +1,227 @@ +From 61a55bfd2c8f72db73081b9aa67e1ecc8b9f3331 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +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.() ++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.(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.() ++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.(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.() ++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.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] + at java.io.FileOutputStream.(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 + diff --git a/SPECS/abrt-java-connector.spec b/SPECS/abrt-java-connector.spec new file mode 100644 index 0000000..eefbf01 --- /dev/null +++ b/SPECS/abrt-java-connector.spec @@ -0,0 +1,231 @@ +%global commit 230b72697c7c43db747b2644b17cb2685d1539de +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: abrt-java-connector +Version: 1.1.0 +Release: 15%{?dist} +Summary: JNI Agent library converting Java exceptions to ABRT problems + +Group: System Environment/Libraries +License: GPLv2+ +URL: https://github.com/jfilak/abrt-java-connector +Source0: https://github.com/jfilak/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz + +BuildRequires: cmake +BuildRequires: satyr-devel +BuildRequires: libreport-devel >= 2.4.0 +BuildRequires: abrt-devel +BuildRequires: java-devel +BuildRequires: systemd-devel +BuildRequires: gettext +BuildRequires: check-devel +BuildRequires: rpm-devel +BuildRequires: git + +Requires: abrt + +# git format-patch 416db946329b043a58acf557f0525361a97e1da1 -N +Patch0001: 0001-Decrease-the-tested-memory-limits-because-of-failure.patch +Patch0002: 0002-Adapt-the-arm-test-outputs-to-java-1.8.patch +Patch0003: 0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch +Patch0004: 0004-Update-Linux-aarch64-test-outputs.patch +Patch0005: 0005-Update-the-test-results.patch +Patch0006: 0006-Make-the-dependency-on-systemd-optional.patch +Patch0007: 0007-Update-README.patch +Patch0008: 0008-Remove-function-malloc_readlink.patch +Patch0009: 0009-Makefile-Adds-srpm-target.patch +Patch0010: 0010-Update-the-test-results.patch +Patch0011: 0011-Clearly-state-that-tests-cannot-be-run-under-root.patch +Patch0012: 0012-Disable-ClassNotFoundException-test-again.patch +Patch0013: 0013-Correct-includes-for-ABRT.patch +Patch0014: 0014-Drop-pedantic-from-CFLAGS.patch +Patch0015: 0015-Rename-log-to-log_warning.patch +Patch0016: 0016-Update-the-test-results.patch + +%description +JNI library providing an agent capable to process both caught and uncaught +exceptions and transform them to ABRT problems + + +%prep +# http://www.rpm.org/wiki/PackagerDocs/Autosetup +# Default '__scm_apply_git' is 'git apply && git commit' but this workflow +# doesn't allow us to create a new file within a patch, so we have to use +# 'git am' (see /usr/lib/rpm/macros for more details) +%define __scm_apply_git(qp:m:) %{__git} am +%autosetup -n %{name}-%{commit} -S git + + +%build +%cmake -DCMAKE_BUILD_TYPE=Release +make %{?_smp_mflags} + + +%install +make install DESTDIR=%{buildroot} + +%files +%doc LICENSE README AUTHORS +%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_java.conf +%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_java.conf +%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event.conf +%config(noreplace) %{_sysconfdir}/abrt/plugins/java.conf +%{_bindir}/abrt-action-analyze-java +%{_mandir}/man1/abrt-action-analyze-java.1* +%{_mandir}/man5/java_event.conf.5* +%{_mandir}/man5/bugzilla_format_java.conf.5* +%{_mandir}/man5/bugzilla_formatdup_java.conf.5* +%{_datadir}/abrt/conf.d/plugins/java.conf + +# Applications may use a single subdirectory under/usr/lib. +# http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE22 +# +# Java does not support multilib. +# https://fedorahosted.org/fesco/ticket/961 +%{_prefix}/lib/abrt-java-connector + + +%check +make test || { + cat Testing/Temporary/LastTest.log + exit 1 +} + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Sep 11 2017 Matej Habrnal - 1.1.0-14 +- turn on unit testing and fix test outputs + +* Mon Aug 28 2017 Matej Habrnal - 1.1.0-13 +- Rename log() to log_warning() +- Update the test results +- Resolves: #1484585 + +* Thu Aug 10 2017 Igor Gnatenko - 1.1.0-12 +- Rebuilt for RPM soname bump + +* Wed Aug 02 2017 Fedora Release Engineering - 1.1.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Feb 15 2016 Jakub Filak - 1.1.0-8 +- Drop '-pedantic' from CFLAGS +- Correct includes for ABRT +- Resolves: #1307305 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jul 28 2015 Jakub Filak - 1.1.0-6 +- Rebuilt for new rpmlib : https://lists.fedoraproject.org/pipermail/devel/2015-July/212672.html + +* Tue Jun 16 2015 Fedora Release Engineering - 1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Mar 16 2015 Matej Habrnal - 1.1.0-4 +- Make the dependency on systemd optional +- Update the test results +- Resolves: #1185626 + +* Tue Nov 04 2014 Jakub Filak - 1.1.0-3 +- Update the test results for armv7l + +* Tue Nov 04 2014 Jakub Filak - 1.1.0-2 +- Update the test results for aarch64 + +* Wed Oct 29 2014 Jakub Filak - 1.1.0-1 +- Support java-1.8-openjdk +- Install the library to /usr/lib/abrt-java-connector on all arches + +* Fri Aug 15 2014 Fedora Release Engineering - 1.0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 9 2014 Jakub Filak - 1.0.10-2 +- Add test results for Linux-ppc64le +- Related: #981682 + +* Fri Apr 4 2014 Jakub Filak - 1.0.10-1 +- Temporarily ignore failures of reporter-ureport until ABRT start using FAF2 +- Prevent users from reporting low quality stack traces + +* Tue Mar 18 2014 Jakub Filak - 1.0.9-1 +- Make the agent configurable via a configuration file +- Include custom debug info in bug reports +- Make the detection of 'executable' working with JAR files + +* Tue Feb 04 2014 Jakub Filak - 1.0.8-3 +- Return the correct value from Agent_OnLoad +- Add test for multiple calls of Agent_On* + +* Tue Feb 04 2014 Jakub Filak - 1.0.8-2 +- Make sure that agent_onload and agent_onunload are processed only once +- Fix a pair of defects uncovered by coverity + +* Wed Jan 22 2014 Jakub Filak - 1.0.8-1 +- Do not report exceptions caught in a native method +- Mark stack traces with 3rd party classes as not-reportable +- Calculate 'duphash' & 'uuid' in satyr +- Use the main class URL for 'executable' +- Do not ship own reporting workflow definitions +- Code optimizations + +* Fri Jan 10 2014 Jakub Filak - 1.0.7-1 +- Use the last frame class path for executable +- Gracefully handle JVMTI errors +- Add an abstract to README +- Add support for journald and syslog +- Make log output disabled by default +- Add support for changing log directory +- Fix a race condition causing a crash of JVM + +* Tue Oct 01 2013 Jakub Filak - 1.0.6-1 +- Fix a deadlock in GC start callback +- Disable experimental features in production releases + +* Tue Jul 30 2013 Jakub Filak - 1.0.5-1 +- Provide a proper configuration for libreport + +* Thu Jul 18 2013 Jakub Filak - 1.0.4-1 +- Stop creating an empty log file + +* Tue Jul 16 2013 Jakub Filak - 1.0.3-1 +- Fix tests on arm + +* Tue Jul 09 2013 Jakub Filak - 1.0.2-1 +- Do not crash on empty command line options + +* Mon Jul 08 2013 Jakub Filak - 1.0.1-1 +- Fix tests on ppc and s390 on both 32 and 64 bit + +* Thu Jun 27 2013 Jakub Filak - 1.0.0-1 +- Publicly releasable version + +* Mon Jun 03 2013 Jakub Filak - 0.1.2-1 +- Start versioning library +- Drop build dependency on abrt-devel + +* Mon Jun 03 2013 Jakub Filak - 0.1.1-2 +- Provide ABRT configuration + +* Mon Jun 03 2013 Jakub Filak - 0.1.1-1 +- New release + +* Fri May 31 2013 Jakub Filak - 0.1.0-3 +- Build with the library name same as the package name + +* Fri May 31 2013 Jakub Filak - 0.1.0-2 +- Build with ABRT enabled + +* Fri May 31 2013 Jakub Filak - 0.1.0-1 +- Initial version